From: Devang Patel Date: Mon, 21 Jan 2008 19:28:13 +0000 (+0000) Subject: New test. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e5d53f5fe82079bc74dbb727b2f54d2b4fe44064;p=oota-llvm.git New test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46209 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2008-01-21-PackedBitFields.c b/test/CFrontend/2008-01-21-PackedBitFields.c new file mode 100644 index 00000000000..4c38dee408c --- /dev/null +++ b/test/CFrontend/2008-01-21-PackedBitFields.c @@ -0,0 +1,7 @@ +// RUN: %llvmgcc %s -S -o - + +typedef double Al1Double __attribute__((aligned(1))); +struct x { int a:23; Al1Double v; }; +struct x X = { 5, 3.0 }; +double foo() { return X.v; } +