tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

numeric-separator-literal-bil-bd-nsl-bd-err.js (702B)


      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 `0b` | `0B` in a
      9  BinaryIntegerLiteral
     10 info: |
     11  NumericLiteralSeparator ::
     12    _
     13 
     14  BinaryIntegerLiteral ::
     15    0b BinaryDigits
     16    0B BinaryDigits
     17 
     18  BinaryDigits ::
     19    BinaryDigit
     20    BinaryDigits BinaryDigit
     21    BinaryDigits NumericLiteralSeparator BinaryDigit
     22 
     23  BinaryDigit :: one of
     24    0 1
     25 
     26 negative:
     27  phase: parse
     28  type: SyntaxError
     29 
     30 features: [numeric-separator-literal]
     31 ---*/
     32 
     33 $DONOTEVALUATE();
     34 
     35 0b_1