view gcc/testsuite/gcc.target/msp430/mlarge-pedwarns.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +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;