assemblyscript/tests/parser/regexp.ts.fixture.ts

7 lines
157 B
TypeScript

/(abc)\//ig;
/(abc)\//;
let re = /(abc)\//ig;
let noRe = !/(abc)\//i;
b / ig;
// ERROR 1161: "Unterminated regular expression literal." in regexp.ts @ 75,76