pslang/examples/short-circuit.psl

15 lines
No EOL
162 B
PSL

func g() -> u16 {
return g()
}
func h() -> bool {
return h()
}
func test_and() -> u16 {
return 0us && g()
}
func test_or() -> u16 {
return 65535us || g()
}