gcc/testsuite/gcc.dg/c99-stdint-2.c
raw| 1 | /* Verify that <stdint.h> is present and follows the C99 requirements. |
| 2 | Freestanding version. */ |
| 3 | /* { dg-do compile } */ |
| 4 | /* { dg-options "-std=iso9899:1999 -pedantic-errors -ffreestanding" } */ |
| 5 | /* { dg-require-effective-target ptr32plus } */ |
| 6 | /* { dg-additional-options "-DSIGNAL_SUPPRESS" { target { ! signal } } } */ |
| 7 | |
| 8 | /* The test is that there are no diagnostics, so just include the |
| 9 | hosted version. */ |
| 10 | #include "c99-stdint-1.c" |