]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testcase from PR #3406
authorGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 12 Aug 2001 08:53:34 +0000 (08:53 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 12 Aug 2001 08:53:34 +0000 (08:53 +0000)
From-SVN: r44823

gcc/testsuite/g++.dg/other/parse-angle-bracket.C [new file with mode: 0644]

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 (file)
index 0000000..bee4ffe
--- /dev/null
@@ -0,0 +1,9 @@
+// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
+// Origin: Bill Somerville <bill@classdesign.com>
+// { dg-do compile }
+
+int main()
+{
+  ( int() > int() );            // { dg-error "parse" "" { xfail *-*-* } }
+  return 0;
+}