svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git] / gcc / testsuite / gcc.dg / wint_t-1.c
blobb4f4e0a2a5ed536c652faa943fd4a3119fe0e9dc
1 /* { dg-do compile } */
2 /* { dg-options "-Wall" } */
4 /* Compile with -Wall to get a warning if built-in and system wint_t don't
5 match. */
7 #define _STDDEF_H
8 #include <wchar.h> /* { dg-excess-errors "" { xfail *-*-darwin* } } */
10 __WINT_TYPE__ __wi_t__;
11 wint_t *wi_t_p;
13 void
14 wit (void)
16 wi_t_p = &__wi_t__;