[commit: ghc] master: Test Trac #9081 (09aac7d)

git at git.haskell.org git at git.haskell.org
Tue Nov 4 10:39:25 UTC 2014


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

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

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

commit 09aac7dafc2905603283b6028e4ce7416716bcd6
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Nov 4 10:35:05 2014 +0000

    Test Trac #9081


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

09aac7dafc2905603283b6028e4ce7416716bcd6
 testsuite/tests/th/T9081.hs | 10 ++++++++++
 testsuite/tests/th/all.T    |  1 +
 2 files changed, 11 insertions(+)

diff --git a/testsuite/tests/th/T9081.hs b/testsuite/tests/th/T9081.hs
new file mode 100644
index 0000000..1fa2b83
--- /dev/null
+++ b/testsuite/tests/th/T9081.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE TemplateHaskell, DataKinds, PolyKinds, TypeFamilies #-}
+
+module T9081 where
+
+import Data.Proxy
+
+$( [d|
+  class kproxy ~ 'KProxy => C (kproxy :: KProxy a) where
+    type TF (x :: a) :: Bool
+  |])
diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T
index 5e65875..a35e126 100644
--- a/testsuite/tests/th/all.T
+++ b/testsuite/tests/th/all.T
@@ -335,3 +335,4 @@ test('T9692', normal, compile, ['-v0'])
 test('T8953', normal, compile, ['-v0'])
 test('T9084', normal, compile_fail, ['-v0'])
 test('T9738', normal, compile, ['-v0'])
+test('T9081', normal, compile, ['-v0'])



More information about the ghc-commits mailing list