mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
Everywhere: Hoist the Libraries folder to the top-level
This commit is contained in:
committed by
Andreas Kling
parent
950e819ee7
commit
93712b24bf
12
Libraries/LibJS/Tests/for-loop-per-iteration-env-bug.js
Normal file
12
Libraries/LibJS/Tests/for-loop-per-iteration-env-bug.js
Normal file
@@ -0,0 +1,12 @@
|
||||
test("check that codegen doesn't crash", () => {
|
||||
function func(x) {
|
||||
expect(x()).toBe(0);
|
||||
}
|
||||
|
||||
function go() {
|
||||
for (let i = 0; ; ) {
|
||||
func(() => i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user