From fe91fda81a28093534a47fa672daf424901c9fa1 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Sun, 12 Aug 2001 08:53:34 +0000 Subject: [PATCH] testcase from PR #3406 From-SVN: r44823 --- gcc/testsuite/g++.dg/other/parse-angle-bracket.C | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gcc/testsuite/g++.dg/other/parse-angle-bracket.C 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; +}