summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-11-04 22:29:40 -0500
committerOri Bernstein <ori@eigenstate.org>2014-11-04 22:29:40 -0500
commit3aa6af831c0a5da56c6e5d8f610a2dca6693670e (patch)
tree0a47ee3d9aacbbe3c6fc82074cfacad062873081 /test
parentbe5462a429323b0c69e9cb4061bdc520be9727c1 (diff)
downloadmc-3aa6af831c0a5da56c6e5d8f610a2dca6693670e.tar.gz
Fix constant patterns for matching.
Diffstat (limited to 'test')
-rw-r--r--test/matchconst.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/matchconst.myr b/test/matchconst.myr
index e076232..f7a20d1 100644
--- a/test/matchconst.myr
+++ b/test/matchconst.myr
@@ -14,5 +14,6 @@ const main = {
| Ca: std.exit(123)
| Cb: std.exit(88)
| Cc: std.exit(42)
+ | _: std.die("Impossible match failure in pattern\n")
;;
}