Debian Codegraph @

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

raw
1 // { dg-do assemble }
2
3 enum E { };
4
5 template <const E* ep>
6 struct S1
7 {
8 };
9
10
11 struct S2
12 {
13 static E es[1];
14 };
15
16
17 struct S3
18 {
19 typedef S1<S2::es> S3_Type;
20 };