summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_fail/DRF9156.hs
blob: 107b8047ec00e6a0a2232f97021ec3d1aa1c214f (plain)
1
2
3
4
{-# LANGUAGE DuplicateRecordFields #-}
module DRF9156 where
data D = D1 { f1 :: Int }
       | D2 { f1, f1 :: Int }