summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash17.C
blob: e50f07af4a85da6857290e97c604a9fbd9c35ce4 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/16716

template <typename> class allocator; 
 
template<typename T> class vector { 
  // With the dg-error on the next line, we are really just trying to
  // check that the message is not an ICE message.
  typedef typename allocator<T> allocator_type; // { dg-error "expected|invalid" }
};