Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
typedef2.C
blob: fd7554e19ac7778a225bad980183bce030111ffc [
file
] [
log
] [
blame
]
template
<
typename
T
>
struct
B
{
typedef
typename
T
::
X X
;
};
template
<
typename
T
>
struct
A
{
typedef
B
<
T
>::
X
::
Y Z
;
};
// { dg-error "before 'B<T>::X::Y' because 'B<T>::X'" "" { target c++17_down } }