summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T5951.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/T5951.hs')
-rw-r--r--testsuite/tests/rename/should_fail/T5951.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T5951.hs b/testsuite/tests/rename/should_fail/T5951.hs
new file mode 100644
index 0000000000..70756795f6
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T5951.hs
@@ -0,0 +1,11 @@
+module T5951 where
+
+class A a
+class B b
+class C c
+
+instance
+ A =>
+ B =>
+ C where
+ foo = undefined