1 /* Copyright (C) 2002 Free Software Foundation, Inc. */
4 /* { dg-options "-fshort-wchar" } */
5 /* { dg-options "-fshort-wchar -Wl,--no-wchar-size-warning" { target arm_eabi } } */
7 /* Source: Neil Booth, 10 Dec 2002.
9 Test that __WCHAR_MAX__ is correct with -fshort-wchar. */
11 extern void abort (void);
15 __WCHAR_TYPE__ w
= ~(__WCHAR_TYPE__
) 0;
17 if (w
!= __WCHAR_MAX__
)