llvm-mirror/test/CFrontend/2007-04-05-PackedBitFields-2.c
Devang Patel bc8a8a6327 New tests for Packed structs.
llvm-svn: 35685
2007-04-05 17:07:48 +00:00

17 lines
192 B
C

// RUN: %llvmgcc %s -S -o -
# define pck __attribute__((packed))
struct pck F {
unsigned long long i : 12,
j : 23,
k : 27,
l;
};
struct F f1;
void foo() {
f1.l = 5;
}