Add a test for bug 473941. rs=jwalden

This commit is contained in:
Tom Schuster 2011-01-03 17:36:28 -06:00
parent 8e68dd1f5c
commit 952549da6a
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
//bug 473941
var regexp;
regexp = /(?=)/;
assertEq(regexp.test('test'), true);
if (typeof reportCompare === "function")
reportCompare(true, true);

View File

@ -2,3 +2,4 @@ url-prefix ../../jsreftest.html?test=ecma_5/RegExp/
script 7.8.5-01.js
script 15.10.5-01.js
script 15.10.7.5-01.js
script empty-lookahead.js