HCoop
/
hcoop
/
debian
/
mlton.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Import Debian changes 20180207-1
[hcoop/debian/mlton.git]
/
regression
/
array4.sml
Commit
Line
Data
7f918cf1
CE
1
fun f n =
2
if 0 = Array.sub (Array.tabulate (n, fn i => i), 0)
3
then ()
4
else f 13
5
6
val _ = (f 0; raise Fail "bug") handle Subscript => ()
7
val _ = f 1