test262/test/language/literals/numeric/octal-invalid-leading.js

24 lines
491 B
JavaScript
Raw Normal View History

2015-06-12 21:29:11 +02:00
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 11.8.3
description: Octal-integer-literal-like sequence with a leading 0
info: |
2015-06-12 21:29:11 +02:00
OctalIntegerLiteral ::
0o OctalDigits
0O OctalDigits
OctalDigits ::
OctalDigit
OctalDigits OctalDigit
OctalDigit :: one of
0 1 2 3 4 5 6 7
negative:
phase: parse
type: SyntaxError
2015-06-12 21:29:11 +02:00
---*/
$DONOTEVALUATE();
2015-06-12 21:29:11 +02:00
00o0;