[project @ 1998-12-02 13:17:09 by simonm]
[ghc-hetmet.git] / ghc / interpreter / test / unused / T4.hs
1 --!!! Error detection in class declarations.
2
3 -- From the GHC bugs mailing list - this isn't legal Haskell.
4 -- (reported by Einar Wolfgang Karlsen <ewk@informatik.uni-bremen.de>)
5
6 class Silly x where
7   dump :: Silly x => x -> String  -- context is illegal