summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/caf_crash/A.hs
blob: 302c3b31321320170b72e75a29bdb9a577930591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module A (caf, mainx, square) where

import B (idd)

caf :: Int
caf = 23423

mainx :: IO ()
mainx = do
    putStrLn $ show (caf + idd)
    putStrLn "Hello"
    putStrLn "World"

square :: IO Int
square = do
    let ss = "I'm a square"
    putStrLn $ ss
    return $ length ss