diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-30 17:50:39 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-03 10:53:57 -0700 |
commit | c182633f18453cd5c46459ccdce2280ccc591644 (patch) | |
tree | fb7d23ab9f9eb44639a4da5fe86a5755bf9cda84 /tests/test_core.py | |
parent | 04732d022bfaa3ea08a78886d0d8dec5658fc58d (diff) |
emit final missing returns in compiler itself
Diffstat (limited to 'tests/test_core.py')
-rw-r--r-- | tests/test_core.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 98ff678b..92edbaf4 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -8609,6 +8609,12 @@ void*:16 assert ' & 255]()' not in original, 'big function table does not exist' assert ' & 255]()' in final, 'big function table exists' + assert 'asm1' in test_modes + if self.run_name == 'asm1': + assert not Settings.RELOOP + Settings.RELOOP = 1 # check for mixing of relooping with asm1 + self.do_run(path_from_root('tests', 'cubescript'), '*\nTemp is 33\n9\n5\nhello, everyone\n*', main_file='command.cpp') + def test_gcc_unmangler(self): Settings.NAMED_GLOBALS = 1 # test coverage for this |