X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fsyntax2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fsyntax2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=78e356c67975a4fa2c1b06ac5871dfba38e1385c;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/syntax2.C b/gcc/testsuite/g++.old-deja/g++.pt/syntax2.C deleted file mode 100644 index 78e356c6..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/syntax2.C +++ /dev/null @@ -1,27 +0,0 @@ -// Build don't link: - -// Copyright (C) 2000 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 22 June 2000 - -// Origin GNATS bug report 262 from Jeremy Sanders -// and several others. With templates, it's very easy to say something -// erroneous like -// template class X::X -// The culprit -// ... class X::X ... -// caused us to ICE as we got confused about pushing and popping scopes. - -template class image -{ -public: - template image(const image ©); -}; - -template template image::image(const image ©) -{ -} - -template class image; -template class image::image (const image &); // ERROR - parse error -template class image::image (image); // ERROR - specified as declarator-id -template image::image (const image &);