[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / tests / rename / rn001.stderr
1 Renamed-pass4:
2 module Main where
3 infixl 9 PreludeArray.!
4 infixl 9 PreludeList.!!
5 infixl 7 PreludeRatio.%
6 infixl 7 (*)
7 infixl 6 (+)
8 infixl 6 (-)
9 infixl 7 (/)
10 infixl 9 PreludeArray.//
11 infixl 7 `div`
12 infixl 7 `mod`
13 infixl 7 `quot`
14 infixl 7 `rem`
15 infixr 0 $
16 infixr 3 &&
17 infixr 8 (**)
18 infixr 9 .
19 infixr 8 Prelude.^
20 infixr 8 Prelude.^^
21 infixr 2 ||
22 infix  4 (/=)
23 infix  6 :+
24 infix  1 :=
25 infix  4 (<)
26 infix  4 (<=)
27 infix  4 (==)
28 infix  4 (>)
29 infix  4 (>=)
30 infix  5 PreludeList.\\
31 instance (Eq a, Eq b) => Eq (a, b)
32 instance (Eq a, Eq b, Eq c) => Eq (a, b, c)
33 instance (Eq a, Eq b, Eq c, Eq d) => Eq (a, b, c, d)
34 instance (Ord a, Ord b) => Ord (a, b)
35 instance (Ord a, Ord b, Ord c) => Ord (a, b, c)
36 instance (Ord a, Ord b, Ord c, Ord d) => Ord (a, b, c, d)
37 instance (Ix a, Ix b) => Ix (a, b)
38 instance (Ix a, Ix b, Ix c) => Ix (a, b, c)
39 instance (Ix a, Ix b, Ix c, Ix d) => Ix (a, b, c, d)
40 instance (Text a, Text b) => Text (a, b)
41 instance (Text a, Text b, Text c) => Text (a, b, c)
42 instance (Text a, Text b, Text c, Text d) => Text (a, b, c, d)
43 instance (Binary a, Binary b) => Binary (a, b)
44 instance (Binary a, Binary b, Binary c) => Binary (a, b, c)
45 instance (Binary a, Binary b, Binary c, Binary d) => Binary (a, b, c, d)
46 {- nonrec -}
47 Main.x = []
48 {- nonrec -}
49 Main.y = []
50 {- nonrec -}
51 Main.y = []
52 {- nonrec -}
53 _ = []
54 {- nonrec -}
55 _ = 1
56 {- nonrec -}
57 Main.z = []
58 {- nonrec -}
59 _ = []
60 PreludeArray.! :: Ix a => Array a b -> a -> b
61 PreludeList.!! :: Integral a => [b] -> a -> b
62 PreludeRatio.% :: Integral a => a -> a -> Ratio a
63 PreludeArray.// :: Ix a => Array a b -> [Assoc a b] -> Array a b
64 PreludeList.\\ :: Eq a => [a] -> [a] -> [a]
65 Prelude.^ :: (Num b, Integral a) => b -> a -> b
66 Prelude.^^ :: (Fractional b, Integral a) => b -> a -> b
67 PreludeList.or :: [Bool] -> Bool
68
69  
70 "rn001.hs", line 5: multiple declarations of variable:
71     y ( "rn001.hs", line 5,  "rn001.hs", line 6)
72 Fail: Compilation errors found
73
74 ghc: execution of the Haskell compiler had trouble