summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T17140.hs
blob: 5fed76d5394816dfc61bf865cc237c14470764cf (plain)
1
2
3
4
5
6
7
8
module T17140 where

import T17140a

data B = B A

mapP_B :: (Int -> Int) -> B -> B
mapP_B f (B t) = B (mapP_A f t)