Commit 36880fdb authored by simonmar's avatar simonmar

[project @ 2000-08-24 11:45:24 by simonmar]

Add two tests for signatures without definitions.
parent f5e5be8f
module ShouldFail where
sig_without_a_defn :: a -> b
f :: a -> b
f = sig_without_a_defn
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
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.
rnfail025.hs:3: Variable not in scope: `sig_without_a_defn'
Compilation had errors
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment