Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / cpp / truefalse.C
blobd852d4e2f212e9bba89a1d966c8e1915932aceaa
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" } */
13 #endif
15 #if false               /* { dg-bogus "is not defined" } */
16 #error foo              /* { dg-bogus "foo" } */
17 #endif