summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.hs
blob: 5b54ad5ba356cd17dee04da06a95339ef385a3a1 (plain)
1
2
3
4
{-# LANGUAGE DuplicateRecordFields #-}
module GHCiDRF where
data T = MkT { foo :: Int, bar :: Int }
data U = MkU { bar :: Bool }