Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/intmax_t-1.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-Wall" } */ /* { dg-error "" "" { target { { *arm*-*-*elf* xtensa*-*-elf* } || vxworks_kernel } } 0 } */ /* Compile with -Wall to get a warning if built-in and system intmax_t don't match. */ #include <inttypes.h> __INTMAX_TYPE__ __im_t__; __UINTMAX_TYPE__ __uim_t__; intmax_t *im_t_p; uintmax_t *uim_t_p; void imt (void) { im_t_p = &__im_t__; } void uimt (void) { uim_t_p = &__uim_t__; }