summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T18138.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/T18138.hs')
-rw-r--r--testsuite/tests/rename/should_fail/T18138.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T18138.hs b/testsuite/tests/rename/should_fail/T18138.hs
new file mode 100644
index 0000000000..ef4aa7ff9a
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T18138.hs
@@ -0,0 +1,10 @@
+module Misplaced where
+
+instance Eq (T a)
+{-# SPECIALISE instance Eq (T Int) #-}
+ -- A mis-placed signature
+
+data T a = T a
+
+
+