blob: 483f7b54c35d19c27b9f3236ce0ad7aa1b190bf5 [file] [log] [blame]
// PR c++/54416
template < typename T > struct foo;
template <> struct foo < int >;
template < typename T > struct bar
{
template <> struct foo < int > // { dg-error "non-namespace scope" }
{
void baz ();
};
};
void foo < int >::baz () { }
// Don't be picky about error-recovery.
// { dg-prune-output "." }