summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T13092/B.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/T13092/B.hs')
-rw-r--r--testsuite/tests/indexed-types/should_fail/T13092/B.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/T13092/B.hs b/testsuite/tests/indexed-types/should_fail/T13092/B.hs
new file mode 100644
index 0000000000..f04248d4a1
--- /dev/null
+++ b/testsuite/tests/indexed-types/should_fail/T13092/B.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE TypeFamilies #-}
+module B (A, X) where
+import A
+data X
+type instance A (X, b) = ()