Skip to content
Snippets Groups Projects
Commit 36880fdb authored by Simon Marlow's avatar Simon Marlow
Browse files

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

Add two tests for signatures without definitions.
parent f5e5be8f
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment