Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git] / gcc / testsuite / gcc.dg / intmax_t-1.c
blob799d00cfdbc36155465076e6c54d76865c2cb8ad
1 /* { dg-do compile } */
2 /* { dg-options "-Wall" } */
4 /* Compile with -Wall to get a warning if built-in and system intmax_t don't
5 match. */
7 #include <inttypes.h>
9 __INTMAX_TYPE__ __im_t__;
10 __UINTMAX_TYPE__ __uim_t__;
11 intmax_t *im_t_p;
12 uintmax_t *uim_t_p;
14 void
15 imt (void)
17 im_t_p = &__im_t__;
20 void
21 uimt (void)
23 uim_t_p = &__uim_t__;