summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print024.script
blob: 8334e95f0ff53ba09d7e3965a8494d27dfd3e27d (plain)
1
2
3
4
5
6
7
8
9
-- stg_ap_rep exception after using :print with newtypes

:set -XExistentialQuantification -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
:l Test

let a = MkT (1 :: Integer)
seq a ()
:p a
a