aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp58.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp58.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/memtemp58.C30
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp58.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp58.C
deleted file mode 100644
index 38c295388d0..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp58.C
+++ /dev/null
@@ -1,30 +0,0 @@
-// Build don't link:
-// GROUPS passed templates membertemplates
-template<int N, class T>
-struct B {
-};
-
-template<int N1, int N2, int N3>
-struct D {
- struct E {
- template<int N4, class T>
- static void f(B<N4,T>)
- { }
- };
-};
-
-template<int N>
-struct A {
- template<int N2, class T, int N3>
- static void f(B<N2,T>, B<N3,T> b)
- {
- typedef typename D<N2,N3,N>::E E;
- E::f(b);
- }
-};
-
-void foo()
-{
- A<5>::f(B<5,float>(),B<3,float>());
-}
-