1 /* Copyright (C) 2003 Free Software Foundation, Inc. */
3 /* Source: Neil Booth, 18 Apr 2003. */
5 /* { dg-do preprocess } */
6 /* { dg-options "-ansi -pedantic -Wundef" } */
8 /* Check that for C++ we handle true and false correctly, and do not
9 treat them as undefined identifiers. */
11 #if true /* { dg-bogus "is not defined" } */
12 #error foo /* { dg-error "foo" } */
15 #if false /* { dg-bogus "is not defined" } */
16 #error foo /* { dg-bogus "foo" } */