forked from AbleOS/ableos
19 lines
282 B
Plaintext
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
|
||
|
}
|