aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/sizeof3.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/sizeof3.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/sizeof3.C25
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/sizeof3.C b/gcc/testsuite/g++.old-deja/g++.pt/sizeof3.C
deleted file mode 100644
index cd5f701f20f..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/sizeof3.C
+++ /dev/null
@@ -1,25 +0,0 @@
-// Adapted from testcase by Oskar Enoksson <osken393@student.liu.se>
-
-extern "C" void abort();
-
-template<class T0>
-class A {
-public:
- typedef T0 T;
-};
-
-template<int K>
-class B {
- typedef A<char[K]> BC;
-};
-
-template<int N, int M>
-class C {
-public:
- typedef A<char[M]> AC;
-};
-
-int main() {
- if (sizeof(C<3,7>::AC::T) != 7)
- abort();
-}