aboutsummaryrefslogtreecommitdiff
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
commit320c6e97dfd516395b168d9bb30a3b237c7ab442 (patch)
tree9365b7c3506e70f595a728ca0848a7eb5e0aaf19
parent770e1798e110732e09540d53ffd2be261790f2c1 (diff)
Testcase for the problem worked around in
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070319/046204.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35554 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CFrontend/2007-03-26-ZeroWidthBitfield.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CFrontend/2007-03-26-ZeroWidthBitfield.c b/test/CFrontend/2007-03-26-ZeroWidthBitfield.c
new file mode 100644
index 0000000000..89bfb8e1cb
--- /dev/null
+++ b/test/CFrontend/2007-03-26-ZeroWidthBitfield.c
@@ -0,0 +1,2 @@
+// RUN: %llvmgcc %s -S -o -
+struct Z { int :0; } z;