summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/init.c')
-rw-r--r--test/CodeGen/init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/init.c b/test/CodeGen/init.c
index d48e723..c8de99d90 100644
--- a/test/CodeGen/init.c
+++ b/test/CodeGen/init.c
@@ -40,3 +40,9 @@ vec3 f5(vec3 value) {
.x = value.x
}};
}
+
+// rdar://problem/8154689
+void f6() {
+ int x;
+ long ids[] = { (long) &x };
+}
OpenPOWER on IntegriCloud