blob: 01758772874ec2f402a80b786a7cfeda82bf9d06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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}}
}
|