aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C56
1 files changed, 0 insertions, 56 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C
deleted file mode 100644
index 945e7ff68f0..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C
+++ /dev/null
@@ -1,56 +0,0 @@
-// Build don't link:
-
-struct A
-{
- void f() {}
-
- template <class U>
- void f() {}
-};
-
-
-template <class T>
-struct B
-{
- void f() {}
-
- template <class U>
- void f() {}
-};
-
-template struct B<int>;
-
-struct C
-{
- template <class U>
- void f() {}
-
- template <class U>
- void f() {} // ERROR - redeclaration
-};
-
-
-template <class T, class U>
-struct D
-{
- void f(T);
- void f(U);
-};
-
-template struct D<int, double>;
-
-template <class T, class U>
-struct D2
-{
- void f(T);
- void f(U); // ERROR - redeclaration
-};
-
-template struct D2<int, int>;
-
-struct E
-{
- void f();
- void f(); // ERROR - redeclaration
-};
-