Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
lookup2.C
blob: fcf17cde450eb8753f609faf154e74fb5dfc1db0 [
file
] [
log
] [
blame
]
template
<
typename
T
>
struct
A
{
typedef
int
X
;
};
template
<
typename
T
>
struct
B
{
typename
A
<
T
>::
X x
;
};
template
<
typename
T
>
struct
C
{
void
foo
(
int
);
B
<
A
<
T
>*>
b
;
};
template
<
typename
T
>
struct
D
{
enum
{
e
};
void
bar
()
{
C
<
T
*>::
foo
(
e
);
}
};