7 lines
166 B
Mojo
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")
|