aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-06-15 20:17:07 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-06-15 20:17:07 +0000
commit43e890b0354c40b9bfe9281a47985e7a4e2fc2c3 (patch)
tree2bb5411c9c599be1435af96806980f3fadf93e39
parent065bb5e034e2a5b6041c3a1a2df9a0ad5bf85722 (diff)
Test for r133070.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133079 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/complex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/complex.c b/test/CodeGen/complex.c
index 055383ebbb..1212660e87 100644
--- a/test/CodeGen/complex.c
+++ b/test/CodeGen/complex.c
@@ -93,3 +93,7 @@ void t6() {
double t7(double _Complex c) {
return __builtin_fabs(__real__(c));
}
+
+void t8() {
+ __complex__ int *x = &(__complex__ int){1};
+}