summaryrefslogtreecommitdiff
path: root/testsuite/tests/saks/should_compile/saks002.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/saks/should_compile/saks002.hs')
-rw-r--r--testsuite/tests/saks/should_compile/saks002.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_compile/saks002.hs b/testsuite/tests/saks/should_compile/saks002.hs
new file mode 100644
index 0000000000..3dcf49deda
--- /dev/null
+++ b/testsuite/tests/saks/should_compile/saks002.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE StandaloneKindSignatures #-}
+{-# LANGUAGE TypeFamilies, PolyKinds, ExplicitForAll #-}
+
+module SAKS_002 where
+
+type Id :: forall k. k -> k
+type family Id x where
+ Id x = x