Files
pplus-library/mojo/probes/godbolt-compile-button.mojo
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05: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))