summaryrefslogtreecommitdiff
path: root/clang/test/Sema/warn-freestanding-complex.c
blob: 14e063f83c1b8160473eac86e0d4de25c6d28f61 (about) (plain)
1
2
3
4
// RUN: %clang_cc1 -fsyntax-only -ffreestanding -pedantic -verify %s

void foo(float _Complex c) { // expected-warning{{complex numbers are an extension in a freestanding C99 implementation}}
}