summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T16517.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T16517.hs')
-rw-r--r--testsuite/tests/typecheck/should_fail/T16517.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T16517.hs b/testsuite/tests/typecheck/should_fail/T16517.hs
new file mode 100644
index 0000000000..2664a18758
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T16517.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE PolyKinds #-}
+module T16517 where
+
+import Data.Proxy
+class C a where m :: Proxy (a :: k)