xref: /llvm-project/clang/test/Sema/warn-freestanding-complex.c (revision 8fbe78f6fc7b41d1a4228c126fcb522131150518)
1 // RUN: %clang_cc1 -fsyntax-only -ffreestanding -pedantic -verify %s
2 
foo(float _Complex c)3 void foo(float _Complex c) { // expected-warning{{complex numbers are an extension in a freestanding C99 implementation}}
4 }
5