Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/template12.C

raw
1 // { dg-do assemble }
2 // Testcase for 'this is a type' syntax.
3
4 struct B {
5 typedef int A;
6 };
7
8 template <class T> struct Y {
9 void f() {
10 typename T::A *d;
11 }
12 };
13
14 template class Y<B>;