summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/ds030.hs
blob: 8475b55a0fcc66327e4fe3350b611412e9f3fe94 (plain)
1
2
3
4
5
-- !!! ds030: checks that types substituted into binders
--
module ShouldCompile where

f x = case x of [] -> (3::Int) ; _ -> (4::Int)