[project @ 1999-08-04 15:43:34 by simonmar]
[ghc-hetmet.git] / ghc / tests / reader / should_fail / expr001.stderr
index 169d246..53883ac 100644 (file)
@@ -1,14 +1,13 @@
 
 ==================== Reader ====================
-module Main where
+module Test where
 {- rec -}
-f x = x + (if c then 1 else 2)
-f x = x + 1 :: Int
+f x = x zp (if c then 1 else 2)
+f x = x zp 1 :: Int
 
 
-expr001.hs:10: Value not in scope: `c'
 
+expr001.hs:11: Variable not in scope: `c'
 
 Compilation had errors