summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/overloadedrecflds/ghci/GHCiDRF.hs')
-rw-r--r--testsuite/tests/overloadedrecflds/ghci/GHCiDRF.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.hs b/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.hs
new file mode 100644
index 0000000000..5b54ad5ba3
--- /dev/null
+++ b/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE DuplicateRecordFields #-}
+module GHCiDRF where
+data T = MkT { foo :: Int, bar :: Int }
+data U = MkU { bar :: Bool }