blob: de47ec30fe365291d35837446f7497ff2148e57b [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fdump-ada-spec" } */
template<int n>
void bar ()
{
return;
}
class Foo
{
// This check that we properly skip the specification for templated
// members of non-templated classes.
template<int n>
void bar ();
};
template<int n>
void Foo::bar ()
{
return;
}
/* { dg-final { cleanup-ada-spec } } */