Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
implicit-typename2.C
blob: 2bd83cffa176abaadafdc8b13ea650430ada1691 [
file
] [
log
] [
blame
]
// { dg-do compile }
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
// PR c++/11039: Implicit typename warning in friend class declaration.
template
<
typename
T
>
struct
X
{
struct
Y
{
struct
Z
{};
};
friend
struct
Y
::
Z
;
};