update test

This commit is contained in:
koniifer 2024-12-17 23:22:04 +00:00
parent dc4878bc2b
commit e8f1bce4d6

View file

@ -12,14 +12,6 @@ SubThingy := struct {
b: bool,
}
a := enum {
Bababa,
}
opaque := fn(): ?u32 {
return null
}
test := fn(): uint {
buffer := memory.request_page(1)
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([u8].(1, 2, 3), 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
}