summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T9222.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T9222.hs')
-rw-r--r--testsuite/tests/polykinds/T9222.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T9222.hs b/testsuite/tests/polykinds/T9222.hs
new file mode 100644
index 0000000000..df112519ac
--- /dev/null
+++ b/testsuite/tests/polykinds/T9222.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE RankNTypes, GADTs, DataKinds, PolyKinds, TypeOperators, TypeFamilies #-}
+module T9222 where
+
+import Data.Proxy
+
+data Want :: (i,j) -> * where
+ Want :: (a ~ '(b,c) => Proxy b) -> Want a