summaryrefslogtreecommitdiff
path: root/test/Sema/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/init.c')
-rw-r--r--test/Sema/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/init.c b/test/Sema/init.c
index f8110079d0eb4..2527e14fcbe9e 100644
--- a/test/Sema/init.c
+++ b/test/Sema/init.c
@@ -144,3 +144,7 @@ int PR4386_b = ((void *) PR4386_foo) != 0; // expected-error{{initializer elemen
int PR4386_c = ((void *) PR4386_zed) != 0;
int PR4386_zed() __attribute((weak));
+// <rdar://problem/10185490> (derived from SPEC vortex benchmark)
+typedef char strty[10];
+struct vortexstruct { strty s; };
+struct vortexstruct vortexvar = { "asdf" };