ableos/sysdata/programs/test_abc/src/main.hb
2024-11-07 09:57:50 -06:00

19 lines
282 B
Plaintext

stn := @use("../../../libraries/stn/src/lib.hb");
.{log} := stn
Structure := struct {}
returner_fn := fn(): ?Structure {
structure := Structure.()
return structure
}
main := fn(): int {
ret := returner_fn()
if ret != null {
log.info("not null\0")
return 1
}
return 0
}