[commit: testsuite] master: Test Trac #7587 (bcadec3)

Simon Peyton Jones simonpj at microsoft.com
Thu Jan 24 14:38:19 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/bcadec33746958e4d088ee6e89c54efa99f265bd

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

commit bcadec33746958e4d088ee6e89c54efa99f265bd
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Jan 24 13:37:06 2013 +0000

    Test Trac #7587

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

 tests/ghci/scripts/T7587.script |    3 +++
 tests/ghci/scripts/T7587.stdout |    1 +
 tests/ghci/scripts/all.T        |    1 +
 3 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/tests/ghci/scripts/T7587.script b/tests/ghci/scripts/T7587.script
new file mode 100644
index 0000000..76a7883
--- /dev/null
+++ b/tests/ghci/scripts/T7587.script
@@ -0,0 +1,3 @@
+:set -XPolyKinds
+data A x y
+:k A
diff --git a/tests/ghci/scripts/T7587.stdout b/tests/ghci/scripts/T7587.stdout
new file mode 100644
index 0000000..776eb6d
--- /dev/null
+++ b/tests/ghci/scripts/T7587.stdout
@@ -0,0 +1 @@
+A :: k -> k1 -> *
diff --git a/tests/ghci/scripts/all.T b/tests/ghci/scripts/all.T
index 880efa3..317a346 100755
--- a/tests/ghci/scripts/all.T
+++ b/tests/ghci/scripts/all.T
@@ -135,4 +135,5 @@ test('ghci058',
      extra_clean(['Ghci058.hs', 'Ghci058.hi', 'Ghci058.o']),
      ghci_script,
      ['ghci058.script'])
+test('T7587', normal, ghci_script, ['T7587.script'])
 





More information about the ghc-commits mailing list