summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/T11827/T11827.script
blob: e3629e6e1b90bae2ebcae84fe236d7dc822e14e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
:load B.hs

-- The testsuite driver runs ghci script tests by default with `-v0`, which
-- prevents the bug from triggering. By adding a `:show modules` here, we do
-- trigger the bug.
-- 
-- Adding the setup function `extra_run_opts('-v1')` would also work, but it
-- annoyingly prints the ghc version number, which would make the expected
-- test output dependent on that version number.

:show modules