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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
typename11.C
blob
cfc9f131ee9e2138719a87c7194f346f11e02190
1
// Build don't link:
2
// Special g++ Options: -Wno-deprecated
3
4
template <class T, int I>
5
struct S {
6
struct X {};
7
};
8
9
template <class T, class U, int I>
10
S<T,I>::X f(T, U) { // WARNING - implicit typename
11
S<T, I>::X();
12
return S<T, I>::X();
13
}
14
15
template S<int, 3>::X f<int, double, 3>(int, double);