15 lines · c
1// RUN: %clang_cc1 -verify -std=c11 %s2// expected-no-diagnostics3 4/* WG14 N1514: Yes5 * Conditional normative status for Annex G6 */7 8// We don't support Annex G (which introduces imaginary types), but support for9// this annex is conditional in C11. So we can test for conformance to this10// paper by ensuring we don't define the macro claiming we support Annex G.11 12#ifdef __STDC_IEC_559_COMPLEX__13#error "when did this happen??"14#endif15