summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T7328.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-10-26 12:31:55 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-10-26 12:31:55 +0100
commit043fddf158aa731c76fd72ed05ea56b739a002bd (patch)
tree30e988421b580d747064f265506af4a3d732aa74 /testsuite/tests/polykinds/T7328.hs
parent126c798418bf9025bde6585e2008102d9c273978 (diff)
downloadhaskell-043fddf158aa731c76fd72ed05ea56b739a002bd.tar.gz
Test Trac #7328 and #7332
Diffstat (limited to 'testsuite/tests/polykinds/T7328.hs')
-rw-r--r--testsuite/tests/polykinds/T7328.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T7328.hs b/testsuite/tests/polykinds/T7328.hs
new file mode 100644
index 0000000000..3e51875508
--- /dev/null
+++ b/testsuite/tests/polykinds/T7328.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE PolyKinds, GADTs #-}
+
+module T7328 where
+
+data Proxy a
+
+class Foo a where
+ foo :: a ~ f i => Proxy (Foo f)