Home | History | Annotate | Download | only in Sema
      1 // RUN: %clang_cc1 %s -verify -fsyntax-only
      2 
      3 float a;
      4 
      5 int b[__builtin_classify_type(a + 1i) == 9 ? 1 : -1];
      6 int c[__builtin_classify_type(1i + a) == 9 ? 1 : -1];
      7 
      8 double d;
      9 __typeof__ (d + 1i) e;
     10 
     11 int f[sizeof(e) == 2 * sizeof(double) ? 1 : -1];
     12 
     13 int g;
     14 int h[__builtin_classify_type(g + 1.0i) == 9 ? 1 : -1];
     15 int i[__builtin_classify_type(1.0i + a) == 9 ? 1 : -1];
     16