Bring test suite up to date
This commit is contained in:
8
test/data/non-exported/Fib.hs
Normal file
8
test/data/non-exported/Fib.hs
Normal file
@@ -0,0 +1,8 @@
|
||||
{-# LANGUAGE TemplateHaskell #-} -- for HscInterpreted
|
||||
|
||||
module Fib () where
|
||||
|
||||
fib :: Int -> Int
|
||||
fib 0 = 0
|
||||
fib 1 = 1
|
||||
fib n = fib (n - 1) + fib (n - 2)
|
||||
Reference in New Issue
Block a user