[commit: testsuite] master: Test Trac #7586 (3e8715f)

Simon Peyton Jones simonpj at microsoft.com
Tue Apr 16 17:45:59 CEST 2013


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

On branch  : master

https://github.com/ghc/testsuite/commit/3e8715f2fcbb310cde0fb9006f560408e0896b04

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

commit 3e8715f2fcbb310cde0fb9006f560408e0896b04
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Apr 16 10:27:56 2013 +0100

    Test Trac #7586

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

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

diff --git a/tests/ghci/scripts/T7586.script b/tests/ghci/scripts/T7586.script
new file mode 100644
index 0000000..7f510a0
--- /dev/null
+++ b/tests/ghci/scripts/T7586.script
@@ -0,0 +1,4 @@
+type T a b = a -> b
+:k T
+:k T Int
+:k T Int Bool
diff --git a/tests/ghci/scripts/T7586.stdout b/tests/ghci/scripts/T7586.stdout
new file mode 100644
index 0000000..b0c4aa8
--- /dev/null
+++ b/tests/ghci/scripts/T7586.stdout
@@ -0,0 +1,3 @@
+T :: * -> * -> *
+T Int :: * -> *
+T Int Bool :: *
diff --git a/tests/ghci/scripts/all.T b/tests/ghci/scripts/all.T
index 12e1850..5ef4be1 100755
--- a/tests/ghci/scripts/all.T
+++ b/tests/ghci/scripts/all.T
@@ -145,4 +145,5 @@ test('T7587', normal, ghci_script, ['T7587.script'])
 test('T7688', normal, ghci_script, ['T7688.script'])
 test('T7627', normal, ghci_script, ['T7627.script'])
 test('T7627b', normal, ghci_script, ['T7627b.script'])
+test('T7586', normal, ghci_script, ['T7586.script'])
 





More information about the ghc-commits mailing list