aboutsummaryrefslogtreecommitdiff
path: root/test/optionals.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/optionals.tm')
-rw-r--r--test/optionals.tm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/optionals.tm b/test/optionals.tm
index 26e825ae..c0c600a7 100644
--- a/test/optionals.tm
+++ b/test/optionals.tm
@@ -271,3 +271,6 @@ func main():
>> yep
= 123 : Int
else: fail("Unreachable")
+
+ >> maybe_int(yes)!
+ = 123 : Int