[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / tests / rename / bevan-bug-1 / Oberon_Id.hi
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 (file)
index 0000000..18341f3
--- /dev/null
@@ -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 #-}
+