summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T15341.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/T15341.hs')
-rw-r--r--testsuite/tests/ghci/scripts/T15341.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T15341.hs b/testsuite/tests/ghci/scripts/T15341.hs
new file mode 100644
index 0000000000..b84c1bbe10
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T15341.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE PolyKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+module T15341 where
+
+type family Foo (a :: k) :: k where
+ Foo a = a