X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftests%2Frename%2Frn017.stderr;fp=ghc%2Fcompiler%2Ftests%2Frename%2Frn017.stderr;h=d1f5d456d281300d54355e8818382d3c50fdc764;hb=e7d21ee4f8ac907665a7e170c71d59e13a01da09;hp=0000000000000000000000000000000000000000;hpb=e48474bff05e6cfb506660420f025f694c870d38;p=ghc-hetmet.git diff --git a/ghc/compiler/tests/rename/rn017.stderr b/ghc/compiler/tests/rename/rn017.stderr new file mode 100644 index 0000000..d1f5d45 --- /dev/null +++ b/ghc/compiler/tests/rename/rn017.stderr @@ -0,0 +1,48 @@ +Renamer-pass4: +module Test ( + Test.., Rn017.. + ) where +infixl 7 PreludeRatio.% +infixl 9 PreludeArray.// +infixr 8 PreludeBasic.^ +infixr 8 PreludeBasic.^^ +infix 5 PreludeList.\\ +data Test.Foo + = Test.MkFoo +data Bar.Wibble + = Bar.MkWibble Burf.Wobble +data Burf.Wobble +class Test.FOO a where + op{op 1 cls Test.FOO} :: a -> Int +instance Test.FOO Test.Foo where + op{op 1 cls Test.FOO} + x = 42 +{- nonrec -} +Test.f + x = x +PreludeRatio.% :: Integral a => a -> a -> Ratio a +PreludeArray.// :: Ix a => Array a b -> [Assoc a b] -> Array a b +PreludeList.\\ :: Eq a => [a] -> [a] -> [a] +PreludeBasic.^ :: (Num b, Integral a) => b -> a -> b +PreludeBasic.^^ :: (Fractional b, Integral a) => b -> a -> b +Bar.a :: Int -> Int +Bar.b :: Int -> Int +Rn017.c :: Int -> Int +interface Test where +import Bar(Wibble(..), a, b) +import Burf(Wobble(..)) +import Rn017(c) +a :: Int -> Int +b :: Int -> Int +c :: Int -> Int +f :: a -> a + {-# ARITY f = 1 #-} +class FOO a where + op :: a -> Int + {-# ARITY op = 1 #-} +data Foo = MkFoo +data Wibble = MkWibble Wobble +data Wobble +instance FOO Foo + {-# ARITY op = 1 #-} +