aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2008-01-21-PackedBitFields.c
blob: daf29cb8bcbfccaa7d3e8a7d032696719441b523 (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 %s -emit-llvm -o -

typedef double Al1Double __attribute__((aligned(1)));
struct x { int a:23; Al1Double v; };
struct x X = { 5, 3.0 };
double foo(void) { return X.v; }