aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/defarg4.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/defarg4.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/defarg4.C32
1 files changed, 0 insertions, 32 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/defarg4.C b/gcc/testsuite/g++.old-deja/g++.pt/defarg4.C
deleted file mode 100644
index 9d5df8cf2a3..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/defarg4.C
+++ /dev/null
@@ -1,32 +0,0 @@
-// Build don't link:
-
-template <class T>
-struct S1
-{
- void foo(T = t());
-
- static T t();
-};
-
-
-template <class T>
-struct S2
-{
- void bar();
-};
-
-
-template <class T>
-void S2<T>::bar ()
-{
- S1<T> st;
- st.foo();
-}
-
-
-int main()
-{
- S2<int> s2i;
- s2i.bar();
-}
-