diff --git a/ghc/tests/rename/should_fail/rnfail024.hs b/ghc/tests/rename/should_fail/rnfail024.hs
new file mode 100644
index 0000000000000000000000000000000000000000..4663319ce91f7aa431bdd69e06675d238ac4d94c
--- /dev/null
+++ b/ghc/tests/rename/should_fail/rnfail024.hs
@@ -0,0 +1,6 @@
+module ShouldFail where
+
+sig_without_a_defn :: a -> b
+
+f :: a -> b
+f = sig_without_a_defn
diff --git a/ghc/tests/rename/should_fail/rnfail024.stderr b/ghc/tests/rename/should_fail/rnfail024.stderr
new file mode 100644
index 0000000000000000000000000000000000000000..b8769fc3b37f8c84e38e196e18447ee2e37c055c
--- /dev/null
+++ b/ghc/tests/rename/should_fail/rnfail024.stderr
@@ -0,0 +1,7 @@
+
+rnfail024.hs:3: Variable not in scope: `sig_without_a_defn'
+
+rnfail024.hs:6: Variable not in scope: `sig_without_a_defn'
+
+Compilation had errors
+
diff --git a/ghc/tests/rename/should_fail/rnfail025.hs b/ghc/tests/rename/should_fail/rnfail025.hs
new file mode 100644
index 0000000000000000000000000000000000000000..42cf3d76f597534d0dde0a3e5558e633c935b7f8
--- /dev/null
+++ b/ghc/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.
diff --git a/ghc/tests/rename/should_fail/rnfail025.stderr b/ghc/tests/rename/should_fail/rnfail025.stderr
new file mode 100644
index 0000000000000000000000000000000000000000..c0640fd6d4612d3e2c9c7673ab5ad8b9faad0dab
--- /dev/null
+++ b/ghc/tests/rename/should_fail/rnfail025.stderr
@@ -0,0 +1,5 @@
+
+rnfail025.hs:3: Variable not in scope: `sig_without_a_defn'
+
+Compilation had errors
+