Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
typename21.C
blob: a76f133beb5c6b0bb32bd62e5c2d1077bbf7672d [
file
] [
log
] [
blame
]
// PR c++/70067
// { dg-do compile }
template
<class>
struct
A
;
template
<
class
T
>
struct
B
{
struct
N
{
};
};
template
<
class
T
>
struct
D
:
B
<
T
>
{
typedef
typename
D
::
N N
;
A
<
N
>
*
a
;
};
D
<int>
d
;