X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Ftemplate%2Fcrash1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Ftemplate%2Fcrash1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=27e89641ac75d29b2033917a776b567b71141ab6;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/template/crash1.C b/gcc/testsuite/g++.dg/template/crash1.C deleted file mode 100644 index 27e89641..00000000 --- a/gcc/testsuite/g++.dg/template/crash1.C +++ /dev/null @@ -1,17 +0,0 @@ -// { dg-do compile } - -// Copyright (C) 2001 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 29 Dec 2001 - -// PR 5125. ICE - -class S -{ - public: - template void Foo(int (*f)(S& o) ); // { dg-error "candidate" "" } -}; - -template -void S::Foo(int (*f)(TYPO&o) ) -{ // { dg-error "template definition of non-template|prototype" "" } -}