summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print016.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/print016.script')
-rw-r--r--testsuite/tests/ghci.debugger/scripts/print016.script10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print016.script b/testsuite/tests/ghci.debugger/scripts/print016.script
new file mode 100644
index 0000000000..1f5f153892
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/scripts/print016.script
@@ -0,0 +1,10 @@
+-- Type reconstruction with newtypes involved, more gruesome.
+
+:set -XExistentialQuantification -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
+:l ../Test
+let a = map MkT [1..2]
+:p a
+seq _t1 ()
+:p a
+seq _t2 ()
+:p a \ No newline at end of file