llvm-6502/test/CFrontend/2008-01-21-PackedBitFields.c
Devang Patel e5d53f5fe8 New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46209 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-21 19:28:13 +00:00

8 lines
175 B
C

// 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; }