summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/SimpleFail6.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/SimpleFail6.hs')
-rw-r--r--testsuite/tests/indexed-types/should_fail/SimpleFail6.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail6.hs b/testsuite/tests/indexed-types/should_fail/SimpleFail6.hs
new file mode 100644
index 0000000000..8a39e6042d
--- /dev/null
+++ b/testsuite/tests/indexed-types/should_fail/SimpleFail6.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module ShouldFail where
+
+-- must fail: Repeated type variable
+class C4 a where
+ data S4 a a :: *