PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / crash28.C
blob68a975915cbc96a139a43d53f343883e77c88241
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 class 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>;
13 template<int> struct A<X<> > {}; // { dg-error "not a class template|not declared in this scope|expected unqualified-id|extra" }
14 struct A {};