summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print014.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/print014.script')
-rw-r--r--testsuite/tests/ghci.debugger/scripts/print014.script9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print014.script b/testsuite/tests/ghci.debugger/scripts/print014.script
new file mode 100644
index 0000000000..88fce78418
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/scripts/print014.script
@@ -0,0 +1,9 @@
+-- Test handling of extra fields in the representation due to existentials.
+
+:set -XGADTs -XRank2Types
+:l ../GADT
+
+let e = Exist 1
+:p e
+seq _t1 ()
+:p e