remove trailing whitespace from test/abi7.ssa
This commit is contained in:
parent
b2a25215fc
commit
9dec866d2c
1 changed files with 21 additions and 21 deletions
|
@ -1,21 +1,21 @@
|
||||||
# test padding calculation with
|
# test padding calculation with
|
||||||
# embedded struct
|
# embedded struct
|
||||||
|
|
||||||
type :s1 = align 4 { w 3 }
|
type :s1 = align 4 { w 3 }
|
||||||
type :s2 = align 4 { b 1, :s1 1 }
|
type :s2 = align 4 { b 1, :s1 1 }
|
||||||
|
|
||||||
export function :s2 $test() {
|
export function :s2 $test() {
|
||||||
@start
|
@start
|
||||||
ret $s
|
ret $s
|
||||||
}
|
}
|
||||||
|
|
||||||
# >>> driver
|
# >>> driver
|
||||||
# struct s2 {
|
# struct s2 {
|
||||||
# char x;
|
# char x;
|
||||||
# struct { int a[3]; } s1;
|
# struct { int a[3]; } s1;
|
||||||
# } s = { .x = 123 };
|
# } s = { .x = 123 };
|
||||||
# extern struct s2 test(void);
|
# extern struct s2 test(void);
|
||||||
# int main(void) {
|
# int main(void) {
|
||||||
# return !(test().x == 123);
|
# return !(test().x == 123);
|
||||||
# }
|
# }
|
||||||
# <<<
|
# <<<
|
||||||
|
|
Loading…
Add table
Reference in a new issue