// Copyright (C) 2005 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 10 Aug 2005 // PR 23219, ICE // Origin:Andrew Pinski // Volker Reichelt template class insert_iterator > {}; // { dg-error "not a class template|not declared in this scope|expected unqualified-id|extra" } template class insert_iterator { // { dg-error "template" } hash_set<_Value>; }; template struct A > {}; // { dg-error "not a class template|not declared in this scope|expected unqualified-id|extra" } struct A {};