Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.pt / nontype3.C
blobf48d00010f46c29f583a4e0073e4f035cd473802
1 // { dg-do assemble  }
3 enum E { e };
5 template <const E* ep>
6 struct S1
8   static const char* s;
9 };
11 template <int D>
12 struct S2 {};
14 template <>
15 struct S2<1>
17   static E es[1];
20 struct S3
22   typedef S1<S2<1>::es> S3_Type;
25 E S2<1>::es[1] = {e};
27 template <>
28 const char* S1<S2<1>::es>::s = "abc";