| 1 |
/* Test __STDC_VERSION_STDINT_H__ not in C11. */ |
| 2 |
/* { dg-do preprocess } */ |
| 3 |
/* { dg-options "-std=c11 -pedantic-errors -ffreestanding" } */ |
| 4 |
|
| 5 |
#include <stdint.h> |
| 6 |
|
| 7 |
#ifdef __STDC_VERSION_STDINT_H__ |
| 8 |
#error "__STDC_VERSION_STDINT_H__ defined" |
| 9 |
#endif |