aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memclass9.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memclass9.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/memclass9.C32
1 files changed, 0 insertions, 32 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memclass9.C b/gcc/testsuite/g++.old-deja/g++.pt/memclass9.C
deleted file mode 100644
index 824ee76f0c5..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/memclass9.C
+++ /dev/null
@@ -1,32 +0,0 @@
-// Build don't link:
-
-template <class T>
-struct S1
-{
- template <class U>
- struct S2
- {
- S2(U);
-
- void g()
- {
- S2<U> s2u (u);
- }
-
- U& u;
- };
-
- template <class U>
- void f(U u)
- {
- S2<U> s2u(u);
- s2u.g();
- }
-};
-
-void g()
-{
- S1<int> s1;
- s1.f(3.0);
-}
-