test for issue #3

This commit is contained in:
IntelliJ User 2019-08-22 12:06:46 +03:00
parent 99f6357ccd
commit 25e1f55ecd
3 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,2 @@
0
3

8
regression/test055.expr Normal file
View file

@ -0,0 +1,8 @@
fun len(l) {
case l of
_ : xs -> return len(xs) + 1
|{} -> return 0
esac
}
write(len({}));
write(len({1, 2, 3}))

0
regression/test055.input Normal file
View file