2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / other / dump-ada-spec-7.C
blobde47ec30fe365291d35837446f7497ff2148e57b
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-ada-spec" } */
4 template<int n>
5 void bar ()
7   return;
10 class Foo
12   // This check that we properly skip the specification for templated
13   // members of non-templated classes.
14   template<int n>
15   void bar ();
18 template<int n>
19 void Foo::bar ()
21   return;
24 /* { dg-final { cleanup-ada-spec } } */