FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / uchar-3.c
blob41b987f5cab09371474e80c1e30ec5b3c956aab8
1 /* Copyright (C) 2002 Free Software Foundation, Inc. */
3 /* { dg-do compile } */
4 /* { dg-options "-funsigned-char -fpreprocessed" } */
6 /* Source: Ziemowit Laski. -fpreprocessed doesn't define macros, but
7 CPP would interpret charconsts based upon whether __CHAR_UNSIGNED__
8 was defined. */
10 int foo()
12 char f = 0x83;
13 if (f == '\x83') /* { dg-bogus "always false" } */
14 f = 0;
16 return 0;