summaryrefslogtreecommitdiff
path: root/tests/rec2.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rec2.ur')
-rw-r--r--tests/rec2.ur7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rec2.ur b/tests/rec2.ur
new file mode 100644
index 00000000..e5f208c9
--- /dev/null
+++ b/tests/rec2.ur
@@ -0,0 +1,7 @@
+val rec main = fn () => <html><body>
+ <a link={aux ()}>See another page</a>
+</body></html>
+
+and aux = fn () => <html><body>
+ <a link={main ()}>Back to square one</a>
+</body></html>