From: Devang Patel Date: Thu, 12 Apr 2007 00:32:43 +0000 (+0000) Subject: New test case for PR 1321. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cfa71e026dc09ac0c7207796a3a47fd5efba236a;p=oota-llvm.git New test case for PR 1321. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35934 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;