summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/Exp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_compile/Exp.hs')
-rw-r--r--testsuite/tests/indexed-types/should_compile/Exp.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_compile/Exp.hs b/testsuite/tests/indexed-types/should_compile/Exp.hs
new file mode 100644
index 0000000000..60cb12f098
--- /dev/null
+++ b/testsuite/tests/indexed-types/should_compile/Exp.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Exp (C, C(type T), T, foo, S)
+where
+
+class C a where
+ data T a :: *
+ foo :: a -> a
+
+data family S a b :: *