c1bef51070db596bc3b3086bc3feef34736447f5
[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.