1
0
Fork 0
forked from AbleOS/ableos

update test

This commit is contained in:
koniifer 2024-12-17 23:22:04 +00:00 committed by peony
parent 8ad1f12ebd
commit 7f4f0218d0

View file

@ -12,14 +12,6 @@ SubThingy := struct {
b: bool, b: bool,
} }
a := enum {
Bababa,
}
opaque := fn(): ?u32 {
return null
}
test := fn(): uint { test := fn(): uint {
buffer := memory.request_page(1) buffer := memory.request_page(1)
log.info(format(Thingy.(-100, -100, .(-math.PI, true)), buffer)) log.info(format(Thingy.(-100, -100, .(-math.PI, true)), buffer))
@ -30,7 +22,8 @@ test := fn(): uint {
log.info(format_args(math.LN_2, buffer, .{radix: 16, decimal_digits: 1 << 32})) log.info(format_args(math.LN_2, buffer, .{radix: 16, decimal_digits: 1 << 32}))
log.info(format([u8].(1, 2, 3), buffer)) log.info(format([u8].(1, 2, 3), buffer))
log.info(format(&SubThingy.(0.0, true), buffer)) log.info(format(&SubThingy.(0.0, true), buffer))
log.info(format(opaque(), buffer)) log.info(format(@as(?u32, null), buffer))
log.info(format(@as(?u32, 200), buffer))
return 0 return 0
} }