blob: 84a4cd24d8ddd6dbc7e60d0243eff64d42cdca99 [file] [log] [blame]
//@ runNoFTL
let success = false;
try {
eval(`or ([[{break //comment
[[{aFY sga=
[[{a=Yth FunctionRY&=Ylet 'a'}V a`)
} catch(e) {
success = e.toString() === "SyntaxError: Unexpected token '//'. Expected a ':' following the property name 'break'.";
}
if (!success)
throw new Error("Bad result")