aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-19 00:58:40 +0000
committerChris Lattner <sabre@nondot.org>2008-08-19 00:58:40 +0000
commitd5bac5704768606c3182dcc1386de12b3944601b (patch)
tree6e4b5baa49972d75b357b4a60707ad5d106ed1b5
parent0835a3cdeefe714b4959d31127ea155e56393125 (diff)
add testcase we already handle.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54967 91177308-0d34-0410-b5e6-96231b3b80d8
-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 };
+