Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
typename14.C
blob: 2e3938329bea9fa7666ed884d1b892e615ff4d68 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-Wno-deprecated" }
template
<
class
T
>
struct
B
{
typedef
T X
;
};
template
<
class
T
>
struct
S
:
public
B
<
T
>
{
struct
I
{
void
f
(
X x
);
// { dg-error "'X' has not been declared" } implicit typename
};
};