diff options
Diffstat (limited to 'examples/err.fwd')
| -rw-r--r-- | examples/err.fwd | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/examples/err.fwd b/examples/err.fwd deleted file mode 100644 index f2833e2..0000000 --- a/examples/err.fwd +++ /dev/null @@ -1,17 +0,0 @@ -do_something((auto, auto) ok); - -/* consume can fail */ -consume(auto a); - -main() -{ - do_something() => auto a, auto b; - consume(a); - /* try commenting out error handler or consume(b); */ - !> e { - consume(b); - error "a failed" - } - - consume(b); -} |
