testsuite:
* gcc.dg/cpp/testsuite/named_ops.c: Remove.
* g++.dg/parse/named_ops.C: New test.
From-SVN: r53814
2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
- * gcc.dg/cpp/named_ops.c: New test.
+ * g++.dg/parse/named_ops.C: New test.
2002-05-23 Mark Mitchell <mark@codesourcery.com>
--- /dev/null
+/* 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;
+}
+++ /dev/null
-/* Copyright (C) 2002 Free Software Foundation, Inc. */
-
-/* { dg-do preprocess } */
-/* { dg-options -fpreprocessed } */
-
-/* Tests that C++ named ops are still there with -fpreprocessed. */
-
-/* Source: Neil Booth, 23 May 2002. */
-
-#if 2 xor 2
-#endif