exprs.c revision baf0d6678418e0dd9309438c3e50274253cfc7b2
1// RUN: clang %s -verify -pedantic -fsyntax-only
2
3// PR1966
4_Complex double test1() {
5  return __extension__ 1.0if;
6}
7
8_Complex double test2() {
9  return 1.0if;    // expected-warning {{imaginary constants are an extension}}
10}
11
12// rdar://6097308
13void test3() {
14  int x;
15  (__extension__ x) = 10;
16}
17
18