llvm-project/llvm/test/FrontendC/2008-01-21-PackedBitFields.c

8 lines
175 B
C
Raw Normal View History

2008-01-22 03:28:13 +08:00
// 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; }