]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.oliva/template1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.oliva / template1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/template1.C b/gcc/testsuite/g++.old-deja/g++.oliva/template1.C
deleted file mode 100644 (file)
index a0b63d8..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-
-// Copyright (C) 1999 Free Software Foundation
-
-// by Alexandre Oliva <oliva@dcc.unicamp.br>
-// based on bug report by Stefan Wetzel <Stefan_Wetzel@Physik.TU-Muenchen.DE>
-
-// crash test - XFAIL *-*-*
-
-template<int P = 0> struct foo {
-  static void bar(double (*)[dim]) {} // ERROR - dim not declared
-};
-
-void bar() {
-  foo<>::bar(0); // ERROR - instantiated from here
-}