* gcc.dg/cpp/truefalse.cpp: Move it to ...
* g++.dg/cpp/truefalse.C: Here.
* gcc.dg/cpp/cpp.exp: Remove scanning of ".cpp" files.
From-SVN: r67333
+2003-06-02 Mark Mitchell <mark@codesourcery.com>
+
+ * gcc.dg/cpp/truefalse.cpp: Move it to ...
+ * g++.dg/cpp/truefalse.C: Here.
+ * gcc.dg/cpp/cpp.exp: Remove scanning of ".cpp" files.
+
2003-06-01 Loren James Rittle <ljrittle@acm.org>
* gcc.dg/cpp/redef3.c: New file.
--- /dev/null
+/* Copyright (C) 2003 Free Software Foundation, Inc. */
+
+/* Source: Neil Booth, 18 Apr 2003. */
+
+/* { dg-do preprocess } */
+/* { dg-options "-ansi -pedantic -Wundef" } */
+
+/* Check that for C++ we handle true and false correctly, and do not
+ treat them as undefined identifiers. */
+
+#if true /* { dg-bogus "is not defined" } */
+#error foo /* { dg-error "foo" } */
+#endif
+
+#if false /* { dg-bogus "is not defined" } */
+#error foo /* { dg-bogus "foo" } */
+#endif
-# Copyright (C) 1997, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1997, 2000, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
dg-init
# Main loop.
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{c,cpp,S} ]] \
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{c,S} ]] \
"" $DEFAULT_CFLAGS
# All done.
+++ /dev/null
-/* Copyright (C) 2003 Free Software Foundation, Inc. */
-
-/* Source: Neil Booth, 18 Apr 2003. */
-
-/* { dg-do preprocess } */
-/* { dg-options "-ansi -pedantic -Wundef" } */
-
-/* Check that for C++ we handle true and false correctly, and do not
- treat them as undefined identifiers. */
-
-#if true /* { dg-bogus "is not defined" } */
-#error foo /* { dg-error "foo" } */
-#endif
-
-#if false /* { dg-bogus "is not defined" } */
-#error foo /* { dg-bogus "foo" } */
-#endif