1 // RUN: %clang_cc1 -verify -std=c2x -ffreestanding %s
4 * Remove conditional "WANT" macros from numbered clauses
8 #ifndef __STDC_VERSION_LIMITS_H__
9 #error "__STDC_VERSION_LIMITS_H__ not defined"
10 // expected-error@-1 {{"__STDC_VERSION_LIMITS_H__ not defined"}}
14 #ifndef __STDC_VERSION_STDARG_H__
15 #error "__STDC_VERSION_STDARG_H__ not defined"
16 // expected-error@-1 {{"__STDC_VERSION_STDARG_H__ not defined"}}
19 #include <stdatomic.h>
20 #ifndef __STDC_VERSION_STDATOMIC_H__
21 #error "__STDC_VERSION_STDATOMIC_H__ not defined"
22 // expected-error@-1 {{"__STDC_VERSION_STDATOMIC_H__ not defined"}}
26 #ifndef __STDC_VERSION_STDDEF_H__
27 #error "__STDC_VERSION_STDDEF_H__ not defined"
28 // expected-error@-1 {{"__STDC_VERSION_STDDEF_H__ not defined"}}
32 #ifndef __STDC_VERSION_STDINT_H__
33 #error "__STDC_VERSION_STDINT_H__ not defined"
34 // expected-error@-1 {{"__STDC_VERSION_STDINT_H__ not defined"}}