summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2011-03-02 23:24:44 +0000
committerStuart Hastings <stuart@apple.com>2011-03-02 23:24:44 +0000
commite5fe543878fb96cfc317e3e228551f7caa92b380 (patch)
tree8bee692891ebb2da6565785076844cf7c0c877b2
parentb8b6041734a8680871044c19950f242141009ef8 (diff)
downloadbcm5719-llvm-e5fe543878fb96cfc317e3e228551f7caa92b380.tar.gz
bcm5719-llvm-e5fe543878fb96cfc317e3e228551f7caa92b380.zip
Test case for r126672. Radar 9055247.
llvm-svn: 126896
-rw-r--r--llvm/test/FrontendC/2011-03-02-UnionInitializer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/FrontendC/2011-03-02-UnionInitializer.c b/llvm/test/FrontendC/2011-03-02-UnionInitializer.c
new file mode 100644
index 00000000000..a5ea75e08c0
--- /dev/null
+++ b/llvm/test/FrontendC/2011-03-02-UnionInitializer.c
@@ -0,0 +1,2 @@
+// RUN: %llvmgcc -S %s
+union { int :3; double f; } u17_017 = {17.17};
OpenPOWER on IntegriCloud