summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/rn006.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn006.hs')
-rw-r--r--testsuite/tests/rename/should_compile/rn006.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn006.hs b/testsuite/tests/rename/should_compile/rn006.hs
new file mode 100644
index 0000000000..4f4c0a4fed
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/rn006.hs
@@ -0,0 +1,14 @@
+-- !!! rn006: two sets of mutually-recursive blobs:
+-- !!! f, g, h are mut rec
+-- !!! i, j, k are mut rec
+
+module Test where
+
+f x = g x x
+i x = j x x
+
+g x y = h x x y
+j x y = k x x y
+
+h x y z = f z
+k x y z = i z