fa/tests/stdlib/passing/native_math_smod.fa
Ari Archer c30a3de674
Deprecate mutability contexts
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-07-27 13:41:50 +03:00

13 lines
227 B
Text

include 'std/std.fa'
include 'std/logic.fa'
include 'std/native_math.fa'
fun main [ str str int ] eo
3 86 #smod 2 eql #not if
"86 % 3 did not turn out to be 2 :(" %error
end
%EXIT_SUCCESS %exit
end
#main