numeric-separator-literal-oil-od-nsl-od-err.js (703B)
1 // |reftest| error:SyntaxError 2 // Copyright (C) 2017 the V8 project authors. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 esid: prod-NumericLiteralSeparator 7 description: > 8 NumericLiteralSeparator may not be the appear adjacent to `0o` | `0O` in a 9 OctalIntegerLiteral 10 info: | 11 NumericLiteralSeparator :: 12 _ 13 14 OctalIntegerLiteral :: 15 0o OctalDigits 16 0O OctalDigits 17 18 OctalDigits :: 19 OctalDigit 20 OctalDigits OctalDigit 21 OctalDigits NumericLiteralSeparator OctalDigit 22 23 OctalDigit :: one of 24 0 1 2 3 4 5 6 7 25 26 negative: 27 phase: parse 28 type: SyntaxError 29 30 features: [numeric-separator-literal] 31 ---*/ 32 33 $DONOTEVALUATE(); 34 35 0o_1