named_ops.c: Remove.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Thu, 23 May 2002 22:09:13 +0000 (22:09 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 23 May 2002 22:09:13 +0000 (22:09 +0000)
testsuite:
* gcc.dg/cpp/testsuite/named_ops.c: Remove.
* g++.dg/parse/named_ops.C: New test.

From-SVN: r53814

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

index 4ae2f82f3b988cdf2a40349263482ee337118e59..ae26d864ae1df03773778c79aa89349c89e66949 100644 (file)
@@ -1,6 +1,6 @@
 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>
 
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;
+}
diff --git a/gcc/testsuite/gcc.dg/cpp/named_ops.c b/gcc/testsuite/gcc.dg/cpp/named_ops.c
deleted file mode 100644 (file)
index d03684a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* 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