view gcc/testsuite/gcc.target/msp430/mlarge-pedwarns.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-skip-if "" { "*-*-*" } { "-mcpu=msp430" } { "" } } */
/* { dg-options "-mlarge -pedantic-errors" } */

/* Ensure the use of builtin macros that contain __int20__ in their
   expansion don't cause ISO C errors when -pedantic-errors is passed.  */

__SIZE_TYPE__ a;
__INTPTR_TYPE__ b;
__UINTPTR_TYPE__ c;
__PTRDIFF_TYPE__ d;