* config/bfin/bfin.c (effective_address_32bit_p): Return true for
[official-gcc/alias-decl.git] / gcc / testsuite / gcc.dg / fshort-wchar.c
blob9f4946307f0cbf1d8e20b3d0702c6c00dba5572c
1 /* Copyright (C) 2002 Free Software Foundation, Inc. */
3 /* { dg-do run } */
4 /* { dg-options "-fshort-wchar" } */
6 /* Source: Neil Booth, 10 Dec 2002.
8 Test that __WCHAR_MAX__ is correct with -fshort-wchar. */
10 extern void abort (void);
12 int main ()
14 __WCHAR_TYPE__ w = ~(__WCHAR_TYPE__) 0;
16 if (w != __WCHAR_MAX__)
17 abort ();
19 return 0;