blob: e323738f04433a2210387020708ebc198dae57d0 [file] [log] [blame]
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
var BUGNUMBER = 523401;
var summary = 'identifier starts immediately after numeric literal';
var expect = "SyntaxError: identifier starts immediately after numeric literal";
var actual;
printBugNumber(BUGNUMBER);
printStatus(summary);
try {
eval("actual = 0in [1]");
} catch (e) {
actual = e;
}
actual = '' + actual;
reportCompare(expect, actual, summary);
printStatus("All tests passed!");