summaryrefslogtreecommitdiff
path: root/tests/rewrite.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rewrite.ur')
-rw-r--r--tests/rewrite.ur9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rewrite.ur b/tests/rewrite.ur
new file mode 100644
index 00000000..8b9f5bb8
--- /dev/null
+++ b/tests/rewrite.ur
@@ -0,0 +1,9 @@
+table t : { A : int }
+
+fun other () = return <xml><body>
+ Other
+</body></xml>
+
+fun main () = return <xml><body>
+ <a link={other ()}>Hi!</a>
+</body></xml>