No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / intmax_t-1.c
blobbcfb51cf7066ec351d19823831e1f4d4a67d587e
1 /* { dg-do compile } */
2 /* { dg-options "-Wall" } */
3 /* { dg-error "" "" { target *-*-solaris2.5.1 mips*-*-elf* *arm*-*-*elf* xscale*-*-elf* xtensa-*-elf* } 0 } */
5 /* Compile with -Wall to get a warning if built-in and system intmax_t don't
6 match. */
8 #include <inttypes.h>
10 __INTMAX_TYPE__ __im_t__;
11 __UINTMAX_TYPE__ __uim_t__;
12 intmax_t *im_t_p;
13 uintmax_t *uim_t_p;
15 void
16 imt (void)
18 im_t_p = &__im_t__;
21 void
22 uimt (void)
24 uim_t_p = &__uim_t__;