]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/defarg13.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / defarg13.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/defarg13.C b/gcc/testsuite/g++.old-deja/g++.pt/defarg13.C
deleted file mode 100644 (file)
index 1082bf5..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Build don't link:
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-template <class T>
-void f (int i)
-{
-  struct S { void g (int j = i) {} }; // ERROR - default argument uses local
-
-  S s; // ERROR - instantiated here
-}
-
-template void f<double>(int); // ERROR - instantiated here
-