summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/misc.toc3
-rw-r--r--tests/misc_expected1
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/misc.toc b/tests/misc.toc
index 5dcd1eb..3673a07 100644
--- a/tests/misc.toc
+++ b/tests/misc.toc
@@ -37,4 +37,7 @@ main ::= fn() {
p.e = 100;
io.puti(p["bar"]);
io.puti(p["e"]);
+
+ foo := 4483 as ∫ #no_warn
+ io.puti(foo as int); #no_warn
};
diff --git a/tests/misc_expected b/tests/misc_expected
index e35eecf..8e67335 100644
--- a/tests/misc_expected
+++ b/tests/misc_expected
@@ -4,3 +4,4 @@ Hello!
0
3
100
+4483