forked from OSchip/llvm-project
17 lines
202 B
C
17 lines
202 B
C
|
// RUN: %clang_cc1 %s -emit-llvm -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;
|
||
|
}
|