Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / parse / crash28.C
blobbc491655768541770335ecb985a8d660a0da4ad0
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 10 Aug 2005 <nathan@codesourcery.com>
4 // PR 23219, ICE
5 // Origin:Andrew Pinski <pinskia@gcc.gnu.org>
6 //        Volker Reichelt <reichelt@gcc.gnu.org>
8 template <class _Tp> class insert_iterator<slist<_Tp> > {}; // { dg-error "not a template|not declared in this scope|expected unqualified-id|extra" }
9 template <class _Value> class insert_iterator<int > { // { dg-error "template" }
10   hash_set<_Value>; // { dg-error "no type|expected" }
13 template<int> struct A<X<> > {}; // { dg-error "not a template|not declared in this scope|expected unqualified-id|extra" }
14 struct A {};