Add another complex promotion test.

llvm-svn: 60863
This commit is contained in:
Anders Carlsson 2008-12-10 23:57:51 +00:00
parent b05961c700
commit 591b2224cb
1 changed files with 4 additions and 0 deletions

View File

@ -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];