summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print023.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/print023.script')
-rw-r--r--testsuite/tests/ghci.debugger/scripts/print023.script8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print023.script b/testsuite/tests/ghci.debugger/scripts/print023.script
new file mode 100644
index 0000000000..434b8df4af
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/scripts/print023.script
@@ -0,0 +1,8 @@
+-- Another type reconstruction with newtypes test
+
+:set -XExistentialQuantification -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
+:l ../Test
+
+let a = MkT [1..2]
+seq a ()
+:p a