aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b57f046a04..f6cf9c3971 100644
--- a/test/Sema/init.c
+++ b/test/Sema/init.c
@@ -50,3 +50,7 @@ int pbool(void) {
return pbool2;
}
+
+// rdar://5870981
+union { float f; unsigned u; } u = { 1.0f };
+