Files
pplus-web/mojo/probes/godbolt-compile-button.mojo
T
2026-10-05 03:03:38 +00:00

11 lines
244 B
Mojo

# probe: the Compile button's request: -O0, line tables, listing and output in one answer
# mode: both
# args: -O0 --debug-level=line-tables
# expect-stdout: 5
def add(a: Int, b: Int) -> Int:
return a + b
def main():
print(add(2, 3))