Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/typedef1.C

raw
1 // { dg-do assemble }
2 // Testcase for handling of typedef wierdness.
3
4 template <class T>
5 struct A
6 {
7 typedef enum
8 {
9 foo
10 } B;
11
12 A (B b);
13 };
14
15 template <class T>
16 A<T>::A (B b)
17 {
18 }