summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/parse-non-ascii-latin1.js
blob: 91d0c8bd20b87fa79673d00f4578923c7eec9e7d (plain)
1
2
3
4
5
load(libdir + "asserts.js");

parse("10");
assertThrowsInstanceOf(() => parse("10_"), SyntaxError);
assertThrowsInstanceOf(() => parse("10_\xff"), SyntaxError);