Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / wchar_t-1.c
blob8e22ece3c6701284c2d87d27eb55e5cba26d3e2b
1 /* { dg-do compile { target wchar } } */
2 /* { dg-options "-Wall" } */
4 /* Compile with -Wall to get a warning if built-in and system wchar_t don't
5 match. */
7 #define _STDDEF_H
8 #include <wchar.h>
10 __WCHAR_TYPE__ __wc_t__;
11 wchar_t *wc_t_p;
13 void
14 wct (void)
16 wc_t_p = &__wc_t__;