]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/call2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / call2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/call2.C b/gcc/testsuite/g++.old-deja/g++.pt/call2.C
deleted file mode 100644 (file)
index 51b2469..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Build don't link:
-
-struct IsCompressed { };
-struct Field {
-};
-
-template<class C>
-inline bool
-for_each(const Field& p, IsCompressed, C)
-{
-  return p.IsCompressed(); // ERROR - calling type like a method
-}
-
-template bool for_each<int>(const Field& p, IsCompressed, int); // ERROR - instantiated from here