summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/T5252.hs
blob: dc4c8fed453855b839da3408ae4f27b7da7bbda0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- #5252
-- Killed 7.03 when compiled without -O,
-- because it could not see that x had a product type
-- but MkS still unpacked it

module T5252 where
import T5252a

blah :: S -> T
blah (MkS x _) = x