summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T2901.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/T2901.hs')
-rw-r--r--testsuite/tests/rename/should_fail/T2901.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T2901.hs b/testsuite/tests/rename/should_fail/T2901.hs
new file mode 100644
index 0000000000..a703a5e53d
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T2901.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE DisambiguateRecordFields #-}
+-- Trac #2901
+
+module T2901 where
+
+f = F.Foo { F.field = "" }