summaryrefslogtreecommitdiff
path: root/tests/xcomments.ur
blob: 83608ff96e41eea918c4ca3722b7bd8d4d04f606 (plain)
1
2
3
4
5
6
7
8
9
10
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 <!-- 7 --> *) F {foo ()}</b></i>
  A <!-- B --> C <!-- D (* E *) F --> D<br/>
  <b>A</b> <i><!-- B --> C <b>D <!-- E --> F {foo ()}</b></i>
</body></xml>