summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-04-01 15:29:02 +0000
committerDuncan Sands <baldrick@free.fr>2007-04-01 15:29:02 +0000
commit2e4520176918cb76905ba3cd139d317148750d74 (patch)
tree43d60182541d834c438db9916d695dfd74d068b2 /llvm/test
parent63b6bc1c88bd1575231b6fb86a1e143711106a6e (diff)
downloadbcm5719-llvm-2e4520176918cb76905ba3cd139d317148750d74.tar.gz
bcm5719-llvm-2e4520176918cb76905ba3cd139d317148750d74.zip
Testcase for the problem worked around in
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070319/046204.html llvm-svn: 35554
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CFrontend/2007-03-26-ZeroWidthBitfield.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CFrontend/2007-03-26-ZeroWidthBitfield.c b/llvm/test/CFrontend/2007-03-26-ZeroWidthBitfield.c
new file mode 100644
index 00000000000..89bfb8e1cb0
--- /dev/null
+++ b/llvm/test/CFrontend/2007-03-26-ZeroWidthBitfield.c
@@ -0,0 +1,2 @@
+// RUN: %llvmgcc %s -S -o -
+struct Z { int :0; } z;
OpenPOWER on IntegriCloud