summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print008.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/print008.script')
-rw-r--r--testsuite/tests/ghci.debugger/scripts/print008.script14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print008.script b/testsuite/tests/ghci.debugger/scripts/print008.script
new file mode 100644
index 0000000000..52ca7dc857
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/scripts/print008.script
@@ -0,0 +1,14 @@
+--Handling of polymorphic types:
+-- testing that tyvars are instantiated to unknown
+
+:set -XExistentialQuantification -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
+:l ../Test
+let t = O (map Just [[1,1],[2,2]])
+
+:p t
+:t _t1
+seq _t1 ()
+:p t
+seq _t2 ()
+:p t
+:t _t4 \ No newline at end of file