Testcase for the problem worked around in
authorDuncan Sands <baldrick@free.fr>
Sun, 1 Apr 2007 15:29:02 +0000 (15:29 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 1 Apr 2007 15:29:02 +0000 (15:29 +0000)
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

test/CFrontend/2007-03-26-ZeroWidthBitfield.c [new file with mode: 0644]

diff --git a/test/CFrontend/2007-03-26-ZeroWidthBitfield.c b/test/CFrontend/2007-03-26-ZeroWidthBitfield.c
new file mode 100644 (file)
index 0000000..89bfb8e
--- /dev/null
@@ -0,0 +1,2 @@
+// RUN: %llvmgcc %s -S -o -
+struct Z { int :0; } z;