Files
pplus-core/mojo/probes/godbolt-stdin.mojo
T
2026-10-05 03:03:38 +00:00

9 lines
262 B
Mojo

# probe: does the Compile button's request (compile and run in one) deliver stdin? (run mode did not: input-lines)
# mode: both
# args: -O0 --debug-level=line-tables
# stdin: 41\n
# expect-stdout: 42
def main() raises:
var s = input()
print(atol(s) + 1)