Moved x86only tests into stdlib/regression

This commit is contained in:
Dmitry Boulytchev 2020-03-22 21:58:11 +03:00
parent e4b34a3ec1
commit eeab48ed33
39 changed files with 10 additions and 59 deletions

View file

@ -0,0 +1,15 @@
fun hd (l) {
case l of
h : _ -> return h
esac
}
fun tl (l) {
case l of
_ : t -> return t
esac
}
printf ("%s\n", {1, 2, 3}.hd.string);
printf ("%s\n", {1, 2, 3, 4}.tl.string);
printf ("%s\n", {1, {2, 3, 4}, 5, 6}.tl.hd.hd.string)