diff options
Diffstat (limited to 'tests/i/multifile-runtime-catch/program.cps')
| -rw-r--r-- | tests/i/multifile-runtime-catch/program.cps | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/i/multifile-runtime-catch/program.cps b/tests/i/multifile-runtime-catch/program.cps new file mode 100644 index 0000000..3d11099 --- /dev/null +++ b/tests/i/multifile-runtime-catch/program.cps @@ -0,0 +1,7 @@ +INCLUDE "lib.cps" +TRY + OUTPUT Quotient(0) +CATCH + OUTPUT "runtime caught" +ENDTRY +OUTPUT Quotient(2) |
