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

20 lines
449 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: >
OctalIntegerLiteral ::
0o OctalDigits
0O OctalDigits
OctalDigits ::
OctalDigit
OctalDigits OctalDigit
OctalDigit :: one of
0 1 2 3 4 5 6 7
negative: SyntaxError
---*/
00o0;