summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/rnfail025.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/rnfail025.hs')
-rw-r--r--testsuite/tests/rename/should_fail/rnfail025.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/rnfail025.hs b/testsuite/tests/rename/should_fail/rnfail025.hs
new file mode 100644
index 0000000000..42cf3d76f5
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/rnfail025.hs
@@ -0,0 +1,6 @@
+module ShouldFail where
+
+sig_without_a_defn :: a -> b
+
+-- We don't even refer to the variable. This compiled without error
+-- in ghc-4.08.