summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_run/cgrun003.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/codeGen/should_run/cgrun003.hs')
-rw-r--r--testsuite/tests/codeGen/should_run/cgrun003.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_run/cgrun003.hs b/testsuite/tests/codeGen/should_run/cgrun003.hs
new file mode 100644
index 0000000000..47b2d9e7bf
--- /dev/null
+++ b/testsuite/tests/codeGen/should_run/cgrun003.hs
@@ -0,0 +1,11 @@
+main = print (id2 (id2 id2) (42::Int))
+-- where
+-- id2 = s k k
+
+-- id2 x = s k k x
+
+id2 = s k k
+
+s x y z = x z (y z)
+
+k x y = x