1 // PR c++/16716
2 
3 template <typename> class allocator;
4 
5 template<typename T> class vector {
6   // With the dg-error on the next line, we are really just trying to
7   // check that the message is not an ICE message.
8   typedef typename allocator<T> allocator_type; // { dg-error "expected|invalid" }
9 };
10