[commit: ghc] master: Test #11252 in ghci/scripts/T11252 (d4af57f)

git at git.haskell.org git at git.haskell.org
Fri Jan 15 20:43:51 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d4af57fa2a2af0b369087c13c0c7dae869e323bd/ghc

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

commit d4af57fa2a2af0b369087c13c0c7dae869e323bd
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.


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

d4af57fa2a2af0b369087c13c0c7dae869e323bd
 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