Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
typename18.C
blob: ac875f53a2c2278605d6e45bfcfbc659bf7e7df3 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "" }
// Origin: Mark Mitchell <mark@codesourcery.com>
void
X
();
template
<
class
T
>
struct
J
{
typedef
T X
;
};
template
<
class
T
>
struct
S
{
typedef
T X
;
struct
I
:
public
J
<
X
>
{
static
X
*
f
();
};
};
S
<int>
si
;