liquidhaskell-0.8.10.7: tests/todo/T1278.1.hs
{-@ LIQUID "--exact-data-cons" @-}
module Term where
{-@ data Tree [sz] @-}
data Tree a = Tip | Node (Tree a, Tree a)
{-@ measure sz @-}
sz :: Tree a -> Int
sy Tip = 0
sz (Node (t1, t2)) = 1 + sz t1 + sz t2