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
S/390: Deprecate g5 and g6 CPU levels
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
implicit-typename2.C
blob
2bd83cffa176abaadafdc8b13ea650430ada1691
1
// { dg-do compile }
2
3
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
4
5
// PR c++/11039: Implicit typename warning in friend class declaration.
6
7
template <typename T> struct X {
8
struct Y {
9
struct Z {};
10
};
11
friend struct Y::Z;
12
};