diff options
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/print031.script')
-rw-r--r-- | testsuite/tests/ghci.debugger/scripts/print031.script | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print031.script b/testsuite/tests/ghci.debugger/scripts/print031.script new file mode 100644 index 0000000000..fb6308ffcf --- /dev/null +++ b/testsuite/tests/ghci.debugger/scripts/print031.script @@ -0,0 +1,10 @@ +:l print031.hs +let a = MkT2 [Just (Phantom 1)] +:break f +a +f a +:step +-- ghc crashes now when the type for x is recovered +-- and unifyRTTI fails to compute a substitution +:p x +:q |