summaryrefslogtreecommitdiff
path: root/test/ocaml/for_bounds/for_bounds.sail
diff options
context:
space:
mode:
Diffstat (limited to 'test/ocaml/for_bounds/for_bounds.sail')
-rw-r--r--test/ocaml/for_bounds/for_bounds.sail7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ocaml/for_bounds/for_bounds.sail b/test/ocaml/for_bounds/for_bounds.sail
new file mode 100644
index 00000000..a7388a85
--- /dev/null
+++ b/test/ocaml/for_bounds/for_bounds.sail
@@ -0,0 +1,7 @@
+
+val main : unit -> unit
+function main () = {
+ foreach(i from 0 to 3) {
+ print_int("i=", i);
+ }
+}