summaryrefslogtreecommitdiff
path: root/test/FrontendC/2011-03-08-ZeroFieldUnionInitializer.c
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2011-03-09 04:02:40 +0000
committerStuart Hastings <stuart@apple.com>2011-03-09 04:02:40 +0000
commit46033b0be1cce8f444eb8e80e1b26677f161194f (patch)
tree0400e625d6cb0575cffe19df59a3df73d7bbb9c0 /test/FrontendC/2011-03-08-ZeroFieldUnionInitializer.c
parentab2ee2ea7518b0539c6adcd158d52a45028271f4 (diff)
downloadllvm-46033b0be1cce8f444eb8e80e1b26677f161194f.tar.gz
llvm-46033b0be1cce8f444eb8e80e1b26677f161194f.tar.bz2
llvm-46033b0be1cce8f444eb8e80e1b26677f161194f.tar.xz
Add a RUN line to the test case to make it functional. <rdar://problem/9055247>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC/2011-03-08-ZeroFieldUnionInitializer.c')
-rw-r--r--test/FrontendC/2011-03-08-ZeroFieldUnionInitializer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/FrontendC/2011-03-08-ZeroFieldUnionInitializer.c b/test/FrontendC/2011-03-08-ZeroFieldUnionInitializer.c
index 30a715bd46..1fd8a87824 100644
--- a/test/FrontendC/2011-03-08-ZeroFieldUnionInitializer.c
+++ b/test/FrontendC/2011-03-08-ZeroFieldUnionInitializer.c
@@ -1,3 +1,4 @@
+// RUN: %llvmgcc -S %s
typedef struct {
union {
struct { } __attribute((packed));