diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-01-25 16:17:58 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-01-25 16:17:58 +0000 |
commit | b10760302482f0a340444fc7c4f8f3ffe1b250b1 (patch) | |
tree | 4c0959efa52436c13a563b93df226e0848f423cf /testsuite/tests/ghci/should_run/T2881.hs | |
parent | 08db66ab26cb0df4c6f17c005540ec6a85565e26 (diff) | |
download | haskell-b10760302482f0a340444fc7c4f8f3ffe1b250b1.tar.gz |
Rename some numeric tests: nnnn -> Tnnnn
Diffstat (limited to 'testsuite/tests/ghci/should_run/T2881.hs')
-rw-r--r-- | testsuite/tests/ghci/should_run/T2881.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/should_run/T2881.hs b/testsuite/tests/ghci/should_run/T2881.hs new file mode 100644 index 0000000000..94ecfa6a00 --- /dev/null +++ b/testsuite/tests/ghci/should_run/T2881.hs @@ -0,0 +1,8 @@ +import Data.Word +fib :: Word -> Word +fib 0 = 1 +fib 1 = 1 +fib n = l + r + where l = fib (n-2); r = fib (n-1) + +main = print (fib 20) |