summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T9436.hs
blob: 254103587287a72401d737ee84aa7aab570dca73 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE RecordWildCards #-}

module T9436 where

data T = T { x :: Int }

f :: T -> Int
f (T' { .. }) = x + 1