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