Browse Source

Add bug testcase for GH-107

pull/156/head
Sami Vaarala 10 years ago
parent
commit
8ef7c39938
  1. 18
      ecmascript-testcases/test-bug-call-valstack-segfault-gh107.js

18
ecmascript-testcases/test-bug-call-valstack-segfault-gh107.js

@ -0,0 +1,18 @@
/*
* https://github.com/svaarala/duktape/issues/107
*/
/*===
still here
===*/
function test() {
Function().apply(1,Array(10000));
print('still here');
}
try {
test();
} catch (e) {
print(e.stack || e);
}
Loading…
Cancel
Save