Anders Carlsson | b05961c | 2008-12-10 23:30:05 +0000 | [diff] [blame^] | 1 | // RUN: clang %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]; |