summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod54.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod54.hs')
-rw-r--r--testsuite/tests/module/mod54.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod54.hs b/testsuite/tests/module/mod54.hs
new file mode 100644
index 0000000000..0814a5e57b
--- /dev/null
+++ b/testsuite/tests/module/mod54.hs
@@ -0,0 +1,3 @@
+-- !!! Duplicate derived instance
+module M where
+data T = K deriving (Ord)