summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T5533.hs
blob: 21646f4d407da3ce061f1477bda38cb6bdb421b2 (plain)
1
2
3
4
5
6
module T5533 where

data T a = CT {f1 :: Int -> a, f2 :: Double}
f2 :: Int -> Double
g x = CT {f1 = \t -> f2 t + x, f2 = x}