summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/rnfail003.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/rnfail003.hs')
-rw-r--r--testsuite/tests/rename/should_fail/rnfail003.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/rnfail003.hs b/testsuite/tests/rename/should_fail/rnfail003.hs
new file mode 100644
index 0000000000..fb62bac074
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/rnfail003.hs
@@ -0,0 +1,4 @@
+-- !!! split definition of f (error)
+f [] = []
+g x = x
+f (x:xs) = []