repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
dump-ada-spec-7.C
blob
de47ec30fe365291d35837446f7497ff2148e57b
1
/* { dg-do compile } */
2
/* { dg-options "-fdump-ada-spec" } */
3
4
template<int n>
5
void bar ()
6
{
7
return;
8
}
9
10
class Foo
11
{
12
// This check that we properly skip the specification for templated
13
// members of non-templated classes.
14
template<int n>
15
void bar ();
16
};
17
18
template<int n>
19
void Foo::bar ()
20
{
21
return;
22
}
23
24
/* { dg-final { cleanup-ada-spec } } */