[project @ 2001-01-17 15:11:04 by simonmar]
[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