[commit: ghc] master: Test Trac #8856 (062391b)

git at git.haskell.org git at git.haskell.org
Fri Mar 7 17:15:36 UTC 2014


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

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

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

commit 062391be4f06aa408187582c4a40f1cea80429c3
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Mar 7 17:15:15 2014 +0000

    Test Trac #8856


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

062391be4f06aa408187582c4a40f1cea80429c3
 testsuite/tests/typecheck/should_compile/T8856.hs |    6 ++++++
 testsuite/tests/typecheck/should_compile/all.T    |    1 +
 2 files changed, 7 insertions(+)

diff --git a/testsuite/tests/typecheck/should_compile/T8856.hs b/testsuite/tests/typecheck/should_compile/T8856.hs
new file mode 100644
index 0000000..6605e47
--- /dev/null
+++ b/testsuite/tests/typecheck/should_compile/T8856.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE ScopedTypeVariables, RankNTypes, PolyKinds #-}
+module T8856 where
+
+import Data.Proxy
+
+foo = (undefined :: Proxy a) :: forall a. Proxy a
diff --git a/testsuite/tests/typecheck/should_compile/all.T b/testsuite/tests/typecheck/should_compile/all.T
index 35b5dd2..373e739 100644
--- a/testsuite/tests/typecheck/should_compile/all.T
+++ b/testsuite/tests/typecheck/should_compile/all.T
@@ -417,3 +417,4 @@ test('T8565', normal, compile, [''])
 test('T8644', normal, compile, [''])
 test('T8762', normal, compile, [''])
 test('MutRec', normal, compile, [''])
+test('T8856', normal, compile, [''])



More information about the ghc-commits mailing list