fa/tests/passing/negative_numbers.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
190 B
Text

include 'std/lstd.fa'
include 'std/logic.fa'
fun main [ str str int ] int eo
-1 1 0 sub eql #not if
"-1 = 1 - 0, but is not" #error
end
%EXIT_SUCCESS
end
#main #exit