summaryrefslogtreecommitdiff
path: root/tests/recReal.lac
diff options
context:
space:
mode:
Diffstat (limited to 'tests/recReal.lac')
-rw-r--r--tests/recReal.lac8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/recReal.lac b/tests/recReal.lac
new file mode 100644
index 00000000..e3d46e81
--- /dev/null
+++ b/tests/recReal.lac
@@ -0,0 +1,8 @@
+val rec endlessList = fn () => <body>
+ <li> Buy eggs.</li>
+ {endlessList ()}
+</body>
+
+val main = fn () => <html><body>
+ {endlessList ()}
+</body></html>