summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci006.hs
blob: c1bef51070db596bc3b3086bc3feef34736447f5 (plain)
1
2
3
4
5
6
7
8

module Ghci006 where

data Q = forall x . Show x => Q x
showQ (Q x) = show x

-- associated bug is that at the interpreter command line,
--   showQ (Q "foo") crashed the interpreter.