X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.oliva%2Ftemplate8.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.oliva%2Ftemplate8.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=4319b220e54b7c67528425c329cdc2f5aff345c5;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/template8.C b/gcc/testsuite/g++.old-deja/g++.oliva/template8.C deleted file mode 100644 index 4319b220..00000000 --- a/gcc/testsuite/g++.old-deja/g++.oliva/template8.C +++ /dev/null @@ -1,18 +0,0 @@ -// Build don't link: - -// Copyright (C) 1999 Free Software Foundation - -// by Alexandre Oliva -// simplified from bug report by redleaf - -struct B { - template void bar(); -} b; - -template void foo() { - b.bar(); // no longer gets bogus error - bar undeclared - b.template bar(); // no longer gets bogus error - ditto - b.B::bar(); // ok -} - -template void foo(); // no longer gets bogus error