summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T3823A.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_compile/T3823A.hs')
-rw-r--r--testsuite/tests/rename/should_compile/T3823A.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T3823A.hs b/testsuite/tests/rename/should_compile/T3823A.hs
new file mode 100644
index 0000000000..0a5c230973
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/T3823A.hs
@@ -0,0 +1,8 @@
+module T3823A where
+
+import T3823B
+
+data A = X { x :: Bool } | Y
+
+y :: A -> A
+y = \_ -> Y