tinycc/tests/tests2/123_vla_bug.expect
Michael Matz fbef90a703 Fix a VLA problem
see testcase, reduced example of a situation reported by
Kyryl Melekhin in https://github.com/kyx0r/neatvi/ .
Problem is that setting up the VLA sp-save in a scope that isn't
entered at runtime leaves traces of it in outer scopes that then
try to restore the stack pointer from uninitialized slots.
2021-02-03 04:30:11 +01:00

6 lines
82 B
Plaintext

default: i = 0
reached 3
after do_cmddefault: i = 2
default: i = 3
default: i = 4