diff options
Diffstat (limited to 'testsuite/tests/codeGen/should_run/cgrun006.hs')
-rw-r--r-- | testsuite/tests/codeGen/should_run/cgrun006.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_run/cgrun006.hs b/testsuite/tests/codeGen/should_run/cgrun006.hs new file mode 100644 index 0000000000..609c3c2b4b --- /dev/null +++ b/testsuite/tests/codeGen/should_run/cgrun006.hs @@ -0,0 +1,6 @@ +main = print (length thirteen_ones) + where + thirteen_ones = take (13::Int) ones + + ones :: [Int] + ones = 1 : ones |