summaryrefslogtreecommitdiff
path: root/tests/mutual.ur
blob: c3d80c89b1d6bf8a99e9de53300ee63c37480b5d (plain)
1
2
3
4
5
6
7
8
9
10
datatype foo = A | B of bar
and bar = C | D of foo

val q = B (D A)

fun main () = return <xml>
  {case q of
       B (D A) => <xml>Good</xml>
     | _ => <xml>Bad</xml>}
</xml>