diff options
-rw-r--r-- | test/Sema/complex-promotion.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/complex-promotion.c b/test/Sema/complex-promotion.c index a9b557d221..f7e5f63884 100644 --- a/test/Sema/complex-promotion.c +++ b/test/Sema/complex-promotion.c @@ -9,3 +9,7 @@ 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]; |