summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_compile/T13352_hard_A.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/overloadedrecflds/should_compile/T13352_hard_A.hs')
-rw-r--r--testsuite/tests/overloadedrecflds/should_compile/T13352_hard_A.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/overloadedrecflds/should_compile/T13352_hard_A.hs b/testsuite/tests/overloadedrecflds/should_compile/T13352_hard_A.hs
new file mode 100644
index 0000000000..3fcba12280
--- /dev/null
+++ b/testsuite/tests/overloadedrecflds/should_compile/T13352_hard_A.hs
@@ -0,0 +1,3 @@
+{-# LANGUAGE DuplicateRecordFields #-}
+module T13352_hard_A where
+ data S = C { foo :: Int }