Author: andersca
Date: Wed Dec 10 17:57:51 2008
New Revision: 60863

URL: http://llvm.org/viewvc/llvm-project?rev=60863&view=rev
Log:
Add another complex promotion test.

Modified:
    cfe/trunk/test/Sema/complex-promotion.c

Modified: cfe/trunk/test/Sema/complex-promotion.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/complex-promotion.c?rev=60863&r1=60862&r2=60863&view=diff

==============================================================================
--- cfe/trunk/test/Sema/complex-promotion.c (original)
+++ cfe/trunk/test/Sema/complex-promotion.c Wed Dec 10 17:57:51 2008
@@ -9,3 +9,7 @@
 __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];


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to