summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print019.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/print019.script')
-rw-r--r--testsuite/tests/ghci.debugger/scripts/print019.script11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print019.script b/testsuite/tests/ghci.debugger/scripts/print019.script
new file mode 100644
index 0000000000..a7653720d6
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/scripts/print019.script
@@ -0,0 +1,11 @@
+:set -XExistentialQuantification -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
+:l ../Test
+let a = O (id 'a')
+let b = O (id "abc")
+:p a
+:p b
+seq _t1 ()
+:p _t1
+:show bindings
+_t2
+-- bogus!! _t2 has been resolved to type Char