summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print010.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/print010.script')
-rw-r--r--testsuite/tests/ghci.debugger/scripts/print010.script12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print010.script b/testsuite/tests/ghci.debugger/scripts/print010.script
new file mode 100644
index 0000000000..4b488fa867
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/scripts/print010.script
@@ -0,0 +1,12 @@
+-- Another tricky type reconstruction case
+
+:set -XExistentialQuantification -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
+:l ../Test
+
+let o = O (map id [0..3])
+:p o
+seq _t1 ()
+:p o
+seq _t2 ()
+length _t3
+:p o \ No newline at end of file