From cfa71e026dc09ac0c7207796a3a47fd5efba236a Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 12 Apr 2007 00:32:43 +0000 Subject: [PATCH] New test case for PR 1321. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35934 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2007-04-11-PR1321.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/CFrontend/2007-04-11-PR1321.c diff --git a/test/CFrontend/2007-04-11-PR1321.c b/test/CFrontend/2007-04-11-PR1321.c new file mode 100644 index 00000000000..f391329a0f1 --- /dev/null +++ b/test/CFrontend/2007-04-11-PR1321.c @@ -0,0 +1,12 @@ +// RUN: %llvmgcc %s -S -o /dev/null + +struct X { + unsigned int e0 : 17; + unsigned int e1 : 17; + unsigned int e2 : 17; + unsigned int e3 : 17; + unsigned int e4 : 17; + unsigned int e5 : 17; + unsigned int e6 : 17; + unsigned int e7 : 17; +} __attribute__((packed)) x; -- 2.34.1