[commit: testsuite] master: Test Trac #8640 (1c44663)

git at git.haskell.org git at git.haskell.org
Fri Jan 3 16:22:13 UTC 2014


Repository : ssh://git@git.haskell.org/testsuite

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1c446635e37428d73bac7789458d291650475913/testsuite

>---------------------------------------------------------------

commit 1c446635e37428d73bac7789458d291650475913
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Jan 3 16:22:01 2014 +0000

    Test Trac #8640


>---------------------------------------------------------------

1c446635e37428d73bac7789458d291650475913
 tests/ghci/scripts/T8640.script                                     |    3 +++
 .../should_compile/ann01.stderr => ghci/scripts/T8640.stdout}       |    0
 tests/ghci/scripts/all.T                                            |    1 +
 3 files changed, 4 insertions(+)

diff --git a/tests/ghci/scripts/T8640.script b/tests/ghci/scripts/T8640.script
new file mode 100644
index 0000000..a5f3e52
--- /dev/null
+++ b/tests/ghci/scripts/T8640.script
@@ -0,0 +1,3 @@
+:set -XNoImplicitPrelude
+:show imports
+ -- Should produce no output
diff --git a/tests/annotations/should_compile/ann01.stderr b/tests/ghci/scripts/T8640.stdout
similarity index 100%
copy from tests/annotations/should_compile/ann01.stderr
copy to tests/ghci/scripts/T8640.stdout
diff --git a/tests/ghci/scripts/all.T b/tests/ghci/scripts/all.T
index c1c50cd..cf8ebb9 100755
--- a/tests/ghci/scripts/all.T
+++ b/tests/ghci/scripts/all.T
@@ -161,3 +161,4 @@ test('T8469', normal, ghci_script, ['T8469.script'])
 test('T8485', normal, ghci_script, ['T8485.script'])
 test('T8535', normal, ghci_script, ['T8535.script'])
 test('T8639', normal, ghci_script, ['T8639.script'])
+test('T8640', normal, ghci_script, ['T8640.script'])



More information about the ghc-commits mailing list