From 270ce8372aeddaa3f10362f88473ceb1159b9b5f Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 8 May 2020 16:40:20 -0400 Subject: #no_warn --- tests/misc.toc | 3 +++ tests/misc_expected | 1 + 2 files changed, 4 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3