X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fcrash20.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fcrash20.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=29b4281c76edfc00822aecf2b88158490d9d39dc;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index 29b4281c..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/crash20.C +++ /dev/null @@ -1,9 +0,0 @@ -// Build don't link: - -template -struct A { const T x; A() : x(0) { } A(T x) : x(x) { } }; - -template -void func () { B y; y = B(); } // ERROR - can't use default assignment - -int main (void) { func< A<> >(); } // ERROR - instantiated from here