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
Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec6.C
blob
fd41d7417c2c6deb9e5a15c5cc1a36e12307be5e
1
// { dg-additional-options "-Wno-return-type" }
2
3
template <bool, int> struct X {};
4
5
template <bool C> struct X<C,1> {
6
typedef double* type;
7
type foo () const;
8
};
9
10
template <bool C>
11
typename X<C,1>::type
12
X<C,1>::foo () const {}