mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 702426: Add test.
This commit is contained in:
parent
f8a50c849a
commit
7390eeca6b
5
js/src/jit-test/tests/basic/bug702426-regexp-gc.js
Normal file
5
js/src/jit-test/tests/basic/bug702426-regexp-gc.js
Normal file
@ -0,0 +1,5 @@
|
||||
function g(code) {
|
||||
eval("(function(){" + code + "})")()
|
||||
}
|
||||
g("evalcx(\"(/a/g,function(){})\")");
|
||||
g("'a'.replace(/a/g,gc)")
|
Loading…
Reference in New Issue
Block a user