summaryrefslogtreecommitdiff
path: root/tests/link.lac
diff options
context:
space:
mode:
Diffstat (limited to 'tests/link.lac')
-rw-r--r--tests/link.lac9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/link.lac b/tests/link.lac
new file mode 100644
index 00000000..4e2918e0
--- /dev/null
+++ b/tests/link.lac
@@ -0,0 +1,9 @@
+val ancillary : {} -> xhtml = fn () => <html>
+ Welcome to the ancillary page!
+</html>
+
+val main : {} -> xhtml = fn () => <html><body>
+ <a link={ancillary ()}>Enter the unknown!</a>
+
+ <a link={ancillary ()}>Alternate route!</a>
+</body></html>