blob: a9b557d22176a66496908bef8713913449e52356 [file] [log] [blame]
Anders Carlssonb05961c2008-12-10 23:30:05 +00001// RUN: clang %s -verify -fsyntax-only
2
3float a;
4
5int b[__builtin_classify_type(a + 1i) == 9 ? 1 : -1];
6int c[__builtin_classify_type(1i + a) == 9 ? 1 : -1];
7
8double d;
9__typeof__ (d + 1i) e;
10
11int f[sizeof(e) == 2 * sizeof(double) ? 1 : -1];