summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-stdint-2.c
blob: 08d9f6023d9f93eea0ea5635c2ed228d7bea0f09 (plain)
1
2
3
4
5
6
7
8
9
10
/* Verify that <stdint.h> is present and follows the C99 requirements.
   Freestanding version.  */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors -ffreestanding" } */
/* { dg-require-effective-target ptr32plus } */
/* { dg-additional-options "-DSIGNAL_SUPPRESS" { target { ! signal } } } */

/* The test is that there are no diagnostics, so just include the
   hosted version.  */
#include "c99-stdint-1.c"