OSDN Git Service

* g++.dg/other/stdbool-if.C: Remove.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Apr 2003 10:40:06 +0000 (10:40 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Apr 2003 10:40:06 +0000 (10:40 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65812 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/stdbool-if.C [deleted file]

index 0eae036..524363f 100644 (file)
@@ -2,6 +2,7 @@
 
        * gcc.dg/cpp/truefalse.cpp: New test.
        * gcc.dg/cpp/cpp.exp: Update.
+       * g++.dg/other/stdbool-if.C: Remove.
 
 2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
 
diff --git a/gcc/testsuite/g++.dg/other/stdbool-if.C b/gcc/testsuite/g++.dg/other/stdbool-if.C
deleted file mode 100644 (file)
index e9800bf..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options -pedantic } */
-
-/* test of 'true' and 'false' in #if.  this is accepted with a pedwarn
-   before stdbool.h is included, silently afterward.  */
-
-/* Make sure they're viable keywords.  */
-bool a = true;
-bool b = false;
-
-#if true               /* { dg-warning "true" "true in #if pedwarn" } */
-#else
-#error true is false   /* { dg-bogus "true" "true is false" } */
-#endif
-
-#if false              /* { dg-warning "false" "false in #if pedwarn" } */
-#error false is true   /* { dg-bogus "false" "false is true" } */
-#endif
-
-#include <stdbool.h>
-
-/* Must still be viable keywords.  */
-bool c = true;
-bool d = false;
-
-#if true               /* { dg-bogus "true" "true in #if with stdbool.h" } */
-#else
-#error true is false   /* { dg-bogus "true" "true is false" } */
-#endif
-
-#if false              /* { dg-bogus "false" "false in #if with stdbool.h" } */
-#error false is true   /* { dg-bogus "false" "false is true" } */
-#endif