Files
pplus-library/mojo/probes/int-div-zero.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

7 lines
166 B
Mojo

# probe: what happens on integer division by zero at run time (output, exit code)?
def main():
var z = 0
print("before")
print(7 // z)
print("after")