swc/crates/swc_ecma_parser/tests/tsc/unicodeExtendedEscapesInRegularExpressions14_ES6.ts

5 lines
88 B
TypeScript

// @target: es6
// Shouldn't work, negatives are not allowed.
var x = /\u{-DDDD}/g;