summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog002/A.hs
blob: 6dc493aaa26f473976a9b5f2b4b1da12c4d9cca2 (plain)
1
2
3
4
5
6
module A where

data T = A Int | B Float deriving Eq

f :: Int -> Int
f x = x + 3