Skip to content
Snippets Groups Projects
Commit 12797840 authored by Rick Waldron's avatar Rick Waldron
Browse files

features: [numeric-separator-literal]

parent 53c00784
No related branches found
No related tags found
No related merge requests found
Showing
with 11 additions and 0 deletions
......@@ -25,6 +25,8 @@ info: |
negative:
phase: early
type: SyntaxError
features: [numeric-separator-literal]
---*/
throw "Test262: This statement should not be evaluated.";
......
......@@ -21,6 +21,7 @@ info: |
OctalDigit :: one of
0 1 2 3 4 5 6 7
features: [numeric-separator-literal]
---*/
assert.sameValue(0o0_0, 0o00);
......
......@@ -21,6 +21,7 @@ info: |
OctalDigit :: one of
0 1 2 3 4 5 6 7
features: [numeric-separator-literal]
---*/
assert.sameValue(0o0_1, 0o01);
......
......@@ -21,6 +21,7 @@ info: |
OctalDigit :: one of
0 1 2 3 4 5 6 7
features: [numeric-separator-literal]
---*/
assert.sameValue(0o0_10, 0o010);
......
......@@ -21,6 +21,7 @@ info: |
OctalDigit :: one of
0 1 2 3 4 5 6 7
features: [numeric-separator-literal]
---*/
assert.sameValue(0o01_0, 0o010);
......
......@@ -21,6 +21,7 @@ info: |
OctalDigit :: one of
0 1 2 3 4 5 6 7
features: [numeric-separator-literal]
---*/
assert.sameValue(0o01_00, 0o0100);
......
......@@ -12,6 +12,7 @@ info: |
...
- DecimalDigits
features: [numeric-separator-literal]
---*/
assert.sameValue(-123456789_0, -1234567890);
......
......@@ -13,6 +13,7 @@ info: |
+ DecimalDigits
...
features: [numeric-separator-literal]
---*/
assert.sameValue(+123456789_0, 1234567890);
......
......@@ -17,6 +17,8 @@ info: |
negative:
phase: early
type: SyntaxError
features: [numeric-separator-literal]
---*/
throw "Test262: This statement should not be evaluated.";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment