diff options
Diffstat (limited to 'testsuite/tests/arityanal/should_compile/Arity05.hs')
-rw-r--r-- | testsuite/tests/arityanal/should_compile/Arity05.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/arityanal/should_compile/Arity05.hs b/testsuite/tests/arityanal/should_compile/Arity05.hs new file mode 100644 index 0000000000..7595866195 --- /dev/null +++ b/testsuite/tests/arityanal/should_compile/Arity05.hs @@ -0,0 +1,7 @@ +module F5 where + +-- result not satisfiable +f5g h z = (h z) + 1 +f5h f x g = f x + f5g g x -- + (f (x+1)) +f5y = (\y -> y+1) +f5 = f5h f5y 0 f5y |