From: Gabriel Dos Reis Date: Sun, 12 Aug 2001 08:53:34 +0000 (+0000) Subject: testcase from PR #3406 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe91fda81a28093534a47fa672daf424901c9fa1;p=gcc.git testcase from PR #3406 From-SVN: r44823 --- diff --git a/gcc/testsuite/g++.dg/other/parse-angle-bracket.C b/gcc/testsuite/g++.dg/other/parse-angle-bracket.C new file mode 100644 index 00000000000..bee4ffe3a17 --- /dev/null +++ b/gcc/testsuite/g++.dg/other/parse-angle-bracket.C @@ -0,0 +1,9 @@ +// Contributed by Gabriel Dos Reis +// Origin: Bill Somerville +// { dg-do compile } + +int main() +{ + ( int() > int() ); // { dg-error "parse" "" { xfail *-*-* } } + return 0; +}