blob: 01758772874ec2f402a80b786a7cfeda82bf9d06 [file] [log] [blame]
// RUN: clang %s -verify -pedantic -fsyntax-only
// PR1966
_Complex double test1() {
return __extension__ 1.0if;
}
_Complex double test2() {
return 1.0if; // expected-warning {{imaginary constants are an extension}}
}