X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexpr8.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexpr8.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=93dc76db8d4752e99a0556c6ccdce0b8e8269d62;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/expr8.C b/gcc/testsuite/g++.old-deja/g++.pt/expr8.C deleted file mode 100644 index 93dc76db..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/expr8.C +++ /dev/null @@ -1,26 +0,0 @@ -// Build don't link: - -// Copyright (C) 2000 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 23 June 2000 - -// Origin GNATS bug report 10 from Ewgenij Gawrilow -// There is a grammar ambiguity with greater-than compare as a default -// template parameter value or template arg list. 14.2/2 and 14.1/15 -// say how to resolve it, but we'd sometimes get it wrong. - -template class C { }; - -void f() -{ -C<1> c1; -C<1 & 2> c2; -C<1>2> c3; // ERROR - parse error -C<(1>2)> c4; -C<1 & 2>2> c5; // ERROR - parse error -C<1 & (2>2)> c6; -} - -template 4 > class X1 {}; // ERROR - parse error -template 0 > class X2 {}; // ERROR - parse error -template class X3 {}; -template 4) > class X4 {};