diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-06-21 12:28:23 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-06-23 03:00:23 -0400 |
commit | d8e5b274dd258f85867e874a35fa719922a758f0 (patch) | |
tree | bd738328282dc7af4a597e68b4e6d7c6904448d8 /testsuite | |
parent | aa1d0eb3629bd9d8fda3605c0b7b4dd52ee3d583 (diff) | |
download | haskell-d8e5b274dd258f85867e874a35fa719922a758f0.tar.gz |
ghci: Correct free variable calculation in StgToByteCode
Fixes #20019
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/ghci/scripts/T20019.script | 1 | ||||
-rwxr-xr-x | testsuite/tests/ghci/scripts/all.T | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T20019.script b/testsuite/tests/ghci/scripts/T20019.script new file mode 100644 index 0000000000..949784e991 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T20019.script @@ -0,0 +1 @@ +x = () : x diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T index e4fae93e6b..a265881501 100755 --- a/testsuite/tests/ghci/scripts/all.T +++ b/testsuite/tests/ghci/scripts/all.T @@ -339,3 +339,4 @@ test('T19650', ], ghci_script, ['T19650.script']) +test('T20019', normal, ghci_script, ['T20019.script']) |