summaryrefslogtreecommitdiff
path: root/tests/xcomments.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xcomments.ur')
-rw-r--r--tests/xcomments.ur8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/xcomments.ur b/tests/xcomments.ur
new file mode 100644
index 00000000..61a0b34b
--- /dev/null
+++ b/tests/xcomments.ur
@@ -0,0 +1,8 @@
+fun foo () = <xml>Hi!</xml>
+
+(* fun bar () = return (* No *)<xml>Yes!</xml> *)
+
+fun main () = return <xml><body>
+ A (* B *) C (* D (* E *) F *) D<br/>
+ <b>A</b> <i>(* B *) C <b>D (* E *) F {foo ()}</b></i>
+</body></xml>