summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T6054a.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-04-30 16:35:03 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-04-30 16:35:03 +0100
commitb71f703d2a75dee0dbceab7102466183410e3a78 (patch)
tree4ca844b4848a8cddf29ac4af348fe612321a575d /testsuite/tests/polykinds/T6054a.hs
parent0021043415f6f3bac47f9047ac099fce6e337f71 (diff)
downloadhaskell-b71f703d2a75dee0dbceab7102466183410e3a78.tar.gz
Test Trac #6054
Diffstat (limited to 'testsuite/tests/polykinds/T6054a.hs')
-rw-r--r--testsuite/tests/polykinds/T6054a.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T6054a.hs b/testsuite/tests/polykinds/T6054a.hs
new file mode 100644
index 0000000000..5b1077f0da
--- /dev/null
+++ b/testsuite/tests/polykinds/T6054a.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE PolyKinds, FunctionalDependencies, KindSignatures, MultiParamTypeClasses, DataKinds #-}
+
+module T6054a where
+
+class Bar a (p :: Bool) | a -> p
+data Proxy a = Proxy deriving Show