]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Fri, 24 May 2002 09:27:00 +0000 (09:27 +0000)
committerNo Author <no-author@gcc.gnu.org>
Fri, 24 May 2002 09:27:00 +0000 (09:27 +0000)
'gcc-3_1-branch'.

From-SVN: r53831

gcc/testsuite/g++.dg/parse/named_ops.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/parse/named_ops.C b/gcc/testsuite/g++.dg/parse/named_ops.C
new file mode 100644 (file)
index 0000000..80e5149
--- /dev/null
@@ -0,0 +1,13 @@
+/* Copyright (C) 2002 Free Software Foundation, Inc.  */
+
+/* { dg-do compile } */
+/* { dg-options -fpreprocessed } */
+
+/* Tests that C++ named ops are still there with -fpreprocessed.  */
+
+/* Source: Neil Booth, 23 May 2002.  */
+
+int main ()
+{
+  return 2 xor 2;
+}