[project @ 2003-07-22 16:18:06 by simonmar]
[ghc-hetmet.git] / ghc / tests / ghci / ghci006.hs
1
2 module Ghci006 where
3
4 data Q = forall x . Show x => Q x
5 showQ (Q x) = show x
6
7 -- associated bug is that at the interpreter command line,
8 --   showQ (Q "foo") crashed the interpreter.