gcc/testsuite/gcc.target/msp430/mlarge-pedwarns.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-skip-if "" { "*-*-*" } { "-mcpu=msp430" } { "" } } */ |
| 3 | /* { dg-options "-mlarge -pedantic-errors" } */ |
| 4 | |
| 5 | /* Ensure the use of builtin macros that contain __int20__ in their |
| 6 | expansion don't cause ISO C errors when -pedantic-errors is passed. */ |
| 7 | |
| 8 | __SIZE_TYPE__ a; |
| 9 | __INTPTR_TYPE__ b; |
| 10 | __UINTPTR_TYPE__ c; |
| 11 | __PTRDIFF_TYPE__ d; |