summaryrefslogtreecommitdiff
path: root/test/FrontendC/2008-01-21-PackedBitFields.c
blob: 4c38dee408cbad54fbaea71d0104721af1fa9ea0 (plain)
1
2
3
4
5
6
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; }