Stop ghci025 sharing files with prog001
[ghc.git] / testsuite / tests / ghci / scripts / ghci025.script
1 :l ghci025
2 System.IO.putStrLn "-- test :browse! functionality"
3 System.IO.putStrLn ":browse! *T"
4 :browse! *T
5 System.IO.putStrLn ":browse! T"
6 :browse! T
7 :set -fprint-explicit-foralls
8 System.IO.putStrLn ":browse! T -- with -fprint-explicit-foralls"
9 :browse! T
10
11 System.IO.putStrLn "-- test :browse! <target> relative to different contexts"
12 :set -fforce-recomp
13 :l Ghci025D.hs
14 :add Ghci025C.hs
15 System.IO.putStrLn ":browse! Ghci025C -- from *Ghci025C>"
16 :browse! Ghci025C
17 :add Ghci025B.hs
18 System.IO.putStrLn ":browse! Ghci025C -- from *Ghci025B>, after :add Ghci025B"
19 :browse! Ghci025C
20 :m *Ghci025C
21 System.IO.putStrLn ":browse! Ghci025C -- from *Ghci025C>, after :m *Ghci025C"
22 :browse! Ghci025C
23 :m *Ghci025D
24 System.IO.putStrLn ":browse! Ghci025C -- from *Ghci025D>, after :m *Ghci025D"
25 :browse! Ghci025C