summaryrefslogtreecommitdiff
path: root/testsuite/tests/arityanal/f12.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/arityanal/f12.hs')
-rw-r--r--testsuite/tests/arityanal/f12.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/arityanal/f12.hs b/testsuite/tests/arityanal/f12.hs
new file mode 100644
index 0000000000..35e82edc9f
--- /dev/null
+++ b/testsuite/tests/arityanal/f12.hs
@@ -0,0 +1,5 @@
+module F12 where
+
+f12 = let f g x = g x
+ h = (+)
+ in f h 4 5