Initial commit
Test (in pplus-core) / in-core (push) Failing after 28m44s

This commit is contained in:
alexm committed 2026-11-12 22:23:48 -05:00
commit 568474d52f
1591 files changed
+528213

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# probe: what do % and // by zero do on Int and Int8 at run time? (0, and the program goes on; the notation stops)
# expect-stdout: before
# expect-stdout: 0 0 0
# expect-stdout: 0 0
# expect-stdout: after
def main():
var z = 0
var b: Int8 = 0
print("before")
print(7 % z, -7 % z, 7 // z)
print(Int8(7) % b, Int8(7) // b)
print("after")