about summary refs log tree commit diff stats
path: root/js/scripting-lang/baba-yaga-c/test_exact_22.txt
blob: 446c2a57e1087bb51dcc679fd066ed5e5e3c7058 (plain) (blame)
1
2
3
4
5
6
7
8
9
/* Exact test from 22_parser_limitations.txt */
test_multi_expr : x y -> 
  when (x % 2) (y % 2) is
    0 0 then "both even"
    0 1 then "x even, y odd"
    1 0 then "x odd, y even"
    1 1 then "both odd";

result : test_multi_expr 4 5;