From 62dc4dd5226ee47fd2d563b05816a5aae517bc41 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 16 Apr 2007 18:51:13 +0000 Subject: [PATCH] Testcase for C front-end crash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36148 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2007-03-26-BitfieldAfterZeroWidth.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CFrontend/2007-03-26-BitfieldAfterZeroWidth.c diff --git a/test/CFrontend/2007-03-26-BitfieldAfterZeroWidth.c b/test/CFrontend/2007-03-26-BitfieldAfterZeroWidth.c new file mode 100644 index 00000000000..9b6a8690a33 --- /dev/null +++ b/test/CFrontend/2007-03-26-BitfieldAfterZeroWidth.c @@ -0,0 +1,6 @@ +// RUN: %llvmgcc %s -S -o - +struct W {}; +struct Y { + struct W w; + int i:1; +} __attribute__ ((packed)) y; -- 2.34.1