]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/defarg4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / defarg4.C
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 (file)
index 9d5df8c..0000000
+++ /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();
-}
-