summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T9264.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T9264.hs')
-rw-r--r--testsuite/tests/polykinds/T9264.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T9264.hs b/testsuite/tests/polykinds/T9264.hs
new file mode 100644
index 0000000000..df75599e56
--- /dev/null
+++ b/testsuite/tests/polykinds/T9264.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE PolyKinds, TypeFamilies, ScopedTypeVariables #-}
+module T9264 where
+
+class C (a :: k) where
+ type F (a :: k)
+ type F (a :: k) = Int