packages feed

ghc-exactprint-0.5.3.1: tests/examples/ghc80/overloadedrecfldsfail12.hs

{-# LANGUAGE DuplicateRecordFields #-}
{-# OPTIONS_GHC -Werror #-}

import OverloadedRecFldsFail12_A

data S = MkS { foo :: Bool }

-- Use of foo and bar should give deprecation warnings
f :: T -> T
f e = e { foo = 3, bar = 3 }

s :: T -> Int
s = foo

main = return ()