/* { dg-do compile } */ /* { dg-options "-fdump-ada-spec" } */ template void bar () { return; } class Foo { // This check that we properly skip the specification for templated // members of non-templated classes. template void bar (); }; template void Foo::bar () { return; } /* { dg-final { cleanup-ada-spec } } */