summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print018.script
blob: 695dfca291751ea5fe0f046d8f9d46fb5c43c64a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- Test type reconstruction of Constants
-- Found by Bernie Pope

:set -XExistentialQuantification -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
:l ../Test

:break poly
poly Unary
:step
:p x
:t x
seq x ()
:p x
:t x
x