llvm-project/clang/test/Sema/warn-freestanding-complex.c

5 lines
192 B
C

// RUN: clang-cc -fsyntax-only -ffreestanding -pedantic -verify %s
void foo(float _Complex c) { // expected-warning{{complex numbers are an extension in a freestanding C99 implementation}}
}