summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T16002.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/T16002.hs')
-rw-r--r--testsuite/tests/rename/should_fail/T16002.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T16002.hs b/testsuite/tests/rename/should_fail/T16002.hs
new file mode 100644
index 0000000000..00aadf14dd
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T16002.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE TypeFamilies #-}
+module T16002 where
+
+data A
+type family B (x :: *) :: * where
+ A x = x