[commit: ghc] wip/rae: Test #11252 in ghci/scripts/T11252 (60b8d29)

git at git.haskell.org git at git.haskell.org
Mon Jan 11 19:56:50 UTC 2016


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/60b8d297e4d6358af761ff7ee25df9e7c111dac2/ghc

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

commit 60b8d297e4d6358af761ff7ee25df9e7c111dac2
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Sat Jan 9 11:26:14 2016 -0500

    Test #11252 in ghci/scripts/T11252
    
    This one worked for me out of the box.


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

60b8d297e4d6358af761ff7ee25df9e7c111dac2
 testsuite/tests/ghci/scripts/T11252.script | 3 +++
 testsuite/tests/ghci/scripts/T11252.stdout | 1 +
 testsuite/tests/ghci/scripts/all.T         | 1 +
 3 files changed, 5 insertions(+)

diff --git a/testsuite/tests/ghci/scripts/T11252.script b/testsuite/tests/ghci/scripts/T11252.script
new file mode 100644
index 0000000..485cd8f
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T11252.script
@@ -0,0 +1,3 @@
+:set -XTypeInType
+data Proxy1 k (a :: k) = Proxy1
+:kind Proxy1
diff --git a/testsuite/tests/ghci/scripts/T11252.stdout b/testsuite/tests/ghci/scripts/T11252.stdout
new file mode 100644
index 0000000..eddba45
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T11252.stdout
@@ -0,0 +1 @@
+Proxy1 :: forall k -> k -> *
diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T
index 06a9125..4618281 100755
--- a/testsuite/tests/ghci/scripts/all.T
+++ b/testsuite/tests/ghci/scripts/all.T
@@ -233,3 +233,4 @@ test('T10989',
     ghci_script, ['T10989.script'])
 test('T11098', normal, ghci_script, ['T11098.script'])
 test('T8316', expect_broken(8316), ghci_script, ['T8316.script'])
+test('T11252', normal, ghci_script, ['T11252.script'])



More information about the ghc-commits mailing list