☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash38.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/crash38.C
code
plain
raw
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <
[email protected]
>
3
4
template <class T>
5
struct S {
6
typedef typename T::Y<T>::Z X; // { dg-error "not a class template" } No Y in A
7
X x;
8
};
9
10
struct A {
11
struct Y {
12
typedef A Z;
13
};
14
};
15
16
template struct S<A>;