Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash38.C
blob: 49270644395f81f966c7383887fcbd1273e36a71 [
file
] [
log
] [
blame
]
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
template
<
class
T
>
struct
S
{
typedef
typename
T
::
Y
<
T
>::
Z X
;
// ERROR - No Y in A
X x
;
// ERROR - No Y in A
};
struct
A
{
struct
Y
{
typedef
A Z
;
};
};
template
struct
S
<
A
>;