diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/nontype3.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/nontype3.C | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/nontype3.C b/gcc/testsuite/g++.old-deja/g++.pt/nontype3.C deleted file mode 100644 index d6f339453ad..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/nontype3.C +++ /dev/null @@ -1,28 +0,0 @@ -// Build don't link: - -enum E { e }; - -template <const E* ep> -struct S1 -{ - static char* s; -}; - -template <int D> -struct S2 {}; - -template <> -struct S2<1> -{ - static E es[1]; -}; - -struct S3 -{ - typedef S1<S2<1>::es> S3_Type; -}; - -E S2<1>::es[1] = {e}; - -template <> -char* S1<S2<1>::es>::s = "abc"; |