blob: 4575e38fbc9e4630d8c5422398898e5e2e6e7f1d [file] [log] [blame]
<p>This page tests some conditions that used to cause crashes during codegen.
</p>
<p>If you don't crash, you pass.
</p>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var scripts = [
"(1++).x;",
"/^[s{-.[]()]$/.x;",
"(++1).x;",
"(1 = 1).x;"
];
try {
eval(scripts.join("\n"));
} catch (e) {
}
</script>