packages feed

ghc-exactprint-1.9.0.0: tests/examples/pre-ghc910/overloadedrecfldsfail03.hs

-- Test that a top-level definition with the same name as a record
-- field is rejected

{-# LANGUAGE DuplicateRecordFields #-}

foo = True

data T = MkT { foo :: Int }

main = print foo