diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2013-12-31 17:07:31 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2014-01-02 15:18:58 +0000 |
commit | f54fc09bb17226c71deb766306cb2e293c33dc83 (patch) | |
tree | 72e4220f42feb509ca50cca42ecaa53dd3df32a3 /testsuite/tests/ghci/scripts/T8639.script | |
parent | 22770b4d2300273088765bea1aff9fc4f1ceedc5 (diff) | |
download | haskell-f54fc09bb17226c71deb766306cb2e293c33dc83.tar.gz |
Test Trac #8639 (just the GHCi version)
Diffstat (limited to 'testsuite/tests/ghci/scripts/T8639.script')
-rw-r--r-- | testsuite/tests/ghci/scripts/T8639.script | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T8639.script b/testsuite/tests/ghci/scripts/T8639.script new file mode 100644 index 0000000000..a7db1727a5 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T8639.script @@ -0,0 +1,19 @@ +:l T8639.hs +:t it +bit +:t it + -- Gets the last thing evaluated (T8639.bit) +:t T8639.it + -- Gets 'it' from T8639 + +:m -T8639 +import T8639 as Q + +:t bit +:t Q.bit +:t H.bit + -- Should say "out of scope" +:t it + -- Gets the last thing evaluated (T8639.bit) +:t Q.it + -- Gets 'it' from T8639 |