]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/crash20.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / crash20.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash20.C b/gcc/testsuite/g++.old-deja/g++.pt/crash20.C
deleted file mode 100644 (file)
index 29b4281..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// Build don't link:
-
-template <class T = int>
-struct A { const T x; A() : x(0) { } A(T x) : x(x) { } }; 
-
-template <class B>
-void func () { B y; y = B(); } // ERROR - can't use default assignment
-
-int main (void) { func< A<> >(); } // ERROR - instantiated from here