blob: 71f03e1d8ce7f396dc8ca85570d3b76feb7efb03 [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.layoutTestController)
layoutTestController.dumpAsText();
var scripts = [
"(1++).x;",
"/^[s{-.[]()]$/.x;",
"(++1).x;",
"(1 = 1).x;"
];
try {
eval(scripts.join("\n"));
} catch (e) {
}
</script>