
- This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
16 lines
367 B
C
16 lines
367 B
C
// RUN: %clang_cc1 %s -verify -fsyntax-only
|
|
|
|
float a;
|
|
|
|
int b[__builtin_classify_type(a + 1i) == 9 ? 1 : -1];
|
|
int c[__builtin_classify_type(1i + a) == 9 ? 1 : -1];
|
|
|
|
double d;
|
|
__typeof__ (d + 1i) e;
|
|
|
|
int f[sizeof(e) == 2 * sizeof(double) ? 1 : -1];
|
|
|
|
int g;
|
|
int h[__builtin_classify_type(g + 1.0i) == 9 ? 1 : -1];
|
|
int i[__builtin_classify_type(1.0i + a) == 9 ? 1 : -1];
|