X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftests%2Frename%2Fbevan-bug-1%2FOberon_Id.hi;fp=ghc%2Fcompiler%2Ftests%2Frename%2Fbevan-bug-1%2FOberon_Id.hi;h=18341f348ac53b9d7076b1aa2f3644d9fd31161a;hb=e7d21ee4f8ac907665a7e170c71d59e13a01da09;hp=0000000000000000000000000000000000000000;hpb=e48474bff05e6cfb506660420f025f694c870d38;p=ghc-hetmet.git diff --git a/ghc/compiler/tests/rename/bevan-bug-1/Oberon_Id.hi b/ghc/compiler/tests/rename/bevan-bug-1/Oberon_Id.hi new file mode 100644 index 0000000..18341f3 --- /dev/null +++ b/ghc/compiler/tests/rename/bevan-bug-1/Oberon_Id.hi @@ -0,0 +1,15 @@ +interface Oberon_Id where +from_string :: [Char] -> Oberon_Id + {-# ARITY from_string = 1 #-} +to_string :: Oberon_Id -> [Char] + {-# ARITY to_string = 1 #-} +data Oberon_Id +instance Eq Oberon_Id + {-# ARITY (==) = 2 #-} + {-# ARITY (/=) = 0 #-} +instance Text Oberon_Id + {-# ARITY readsPrec = 0 #-} + {-# ARITY showsPrec = 2 #-} + {-# ARITY readList = 0 #-} + {-# ARITY showList = 0 #-} +