summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-stdint-2.c
blob: d1be0fb6332fef30549a94500c137b5bf8746b9d (plain)
1
2
3
4
5
6
7
8
/* 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-xfail-if "ptrdiff size is 16bits" { avr-*-* } } */
/* The test is that there are no diagnostics, so just include the
   hosted version.  */
#include "c99-stdint-1.c"