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>
/* Copyright (C) 2002 Free Software Foundation, Inc. */
-/* { dg-do preprocess } */
+/* { dg-do compile } */
/* { dg-options -fpreprocessed } */
/* Tests that C++ named ops are still there with -fpreprocessed. */
/* Source: Neil Booth, 23 May 2002. */
-#if 2 xor 2
-#endif
+int main ()
+{
+ return 2 xor 2;
+}