]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/linkage4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / linkage4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/linkage4.C b/gcc/testsuite/g++.old-deja/g++.other/linkage4.C
deleted file mode 100644 (file)
index 65772f7..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// Build don't link:
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-static int strlen (const char*) { return 0; }
-
-template <int (*)(const char*)>
-void f () {}
-
-// Check that the strlen declaration here is given internal linkage by
-// using it as a non-type template argument, and expecting an error.
-template void f<strlen>(); // ERROR - no matching template