summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_fail/T16745D.hs
blob: ee98217d4ce63fc4bde009f41bec5a7bef94b223 (plain)
1
2
3
4
{-# LANGUAGE DuplicateRecordFields #-}
module T16745D where
data S = MkS { foo :: Char }
data T = MkT { foo :: Int }