/* { dg-do compile } */ /* { dg-options "-fdump-ada-spec" } */ template class Foo; template class Foo { public: // This checks that we do not crash on static members from partially // specialized class templates. static int bar; int f(); }; int func() { Foo f; return f.f(); } /* { dg-final { cleanup-ada-spec } } */