summaryrefslogtreecommitdiffstats
path: root/clang
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
commite4ff968f5606bb0171960ba4342d92152d7e4c2a (patch)
tree5b92b64e8133a08b2ada70d02667e6e080ae1d33 /clang
parenta472b7d90093381a34a181c1205884e318c0ec0e (diff)
downloadbcm5719-llvm-e4ff968f5606bb0171960ba4342d92152d7e4c2a.tar.gz
bcm5719-llvm-e4ff968f5606bb0171960ba4342d92152d7e4c2a.zip
Test for r133070.
llvm-svn: 133079
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CodeGen/complex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/complex.c b/clang/test/CodeGen/complex.c
index 055383ebbbe..1212660e878 100644
--- a/clang/test/CodeGen/complex.c
+++ b/clang/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};
+}
OpenPOWER on IntegriCloud