mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
17 lines
192 B
C
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;
|
||
|
}
|