[commit: ghc] ghc-8.0: Test #11252 in ghci/scripts/T11252 (b41586b)
git at git.haskell.org
git at git.haskell.org
Sat Jan 16 12:49:28 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/b41586be7ba0659216c74ef8a58a0aa4d2cc2195/ghc
>---------------------------------------------------------------
commit b41586be7ba0659216c74ef8a58a0aa4d2cc2195
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.
(cherry picked from commit d4af57fa2a2af0b369087c13c0c7dae869e323bd)
>---------------------------------------------------------------
b41586be7ba0659216c74ef8a58a0aa4d2cc2195
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