summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_run/all.T
diff options
context:
space:
mode:
authorFacundo Domínguez <facundo.dominguez@tweag.io>2016-10-28 19:25:05 -0300
committerFacundo Domínguez <facundo.dominguez@tweag.io>2016-11-01 11:11:38 -0300
commit0b70ec0c3b72a7f87776743e64b47b65ef0ca4a5 (patch)
tree3c517e5d1d10c9d19332b553d549767dee98ee5a /testsuite/tests/codeGen/should_run/all.T
parent795be0ea60fc81aefdaf6ecb1dc9b03c4a5c9f86 (diff)
downloadhaskell-0b70ec0c3b72a7f87776743e64b47b65ef0ca4a5.tar.gz
Have static pointers work with -fno-full-laziness.
Summary: Before this patch, static pointers wouldn't be floated to the top-level. Test Plan: ./validate Reviewers: simonpj, bgamari, austin Subscribers: mboes, thomie Differential Revision: https://phabricator.haskell.org/D2662 GHC Trac Issues: #11656
Diffstat (limited to 'testsuite/tests/codeGen/should_run/all.T')
-rw-r--r--testsuite/tests/codeGen/should_run/all.T2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_run/all.T b/testsuite/tests/codeGen/should_run/all.T
index 65e3dc06e8..23caa8cc3c 100644
--- a/testsuite/tests/codeGen/should_run/all.T
+++ b/testsuite/tests/codeGen/should_run/all.T
@@ -119,6 +119,8 @@ test('T8256', normal, compile_and_run, ['-dcore-lint -O1'])
test('T6084',normal, compile_and_run, ['-O2'])
test('CgStaticPointers', [when(doing_ghci(), extra_hc_opts('-fobject-code'))],
compile_and_run, [''])
+test('CgStaticPointersNoFullLazyness', [when(doing_ghci(), extra_hc_opts('-fobject-code'))],
+ compile_and_run, ['-O -fno-full-laziness'])
test('StaticArraySize', [when(doing_ghci(), extra_hc_opts('-fobject-code'))],
compile_and_run, ['-O2'])
test('StaticByteArraySize', normal, compile_and_run, ['-O2'])