summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-11-04 10:35:05 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2014-11-04 10:38:09 +0000
commit09aac7dafc2905603283b6028e4ce7416716bcd6 (patch)
tree18d0e9b9cef7ad12b971329419ebfa32439152d0 /testsuite
parent2f0d84164006665cd7c89cc77c1c1896a6ff0bcf (diff)
downloadhaskell-09aac7dafc2905603283b6028e4ce7416716bcd6.tar.gz
Test Trac #9081
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/th/T9081.hs10
-rw-r--r--testsuite/tests/th/all.T1
2 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/th/T9081.hs b/testsuite/tests/th/T9081.hs
new file mode 100644
index 0000000000..1fa2b83a81
--- /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 5e658759e3..a35e1261d0 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'])