From cb4cfe5dc1c120fc6090d5896fd7de9e49a47618 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 19 Apr 2003 10:40:06 +0000 Subject: [PATCH] * g++.dg/other/stdbool-if.C: Remove. From-SVN: r65812 --- gcc/testsuite/ChangeLog | 1 + gcc/testsuite/g++.dg/other/stdbool-if.C | 33 ------------------------- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 gcc/testsuite/g++.dg/other/stdbool-if.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0eae036feb3..524363f2043 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/g++.dg/other/stdbool-if.C b/gcc/testsuite/g++.dg/other/stdbool-if.C deleted file mode 100644 index e9800bf160d..00000000000 --- a/gcc/testsuite/g++.dg/other/stdbool-if.C +++ /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 - -/* 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