tests/auto/qml/ecmascripttests/test262/test/language/literals/numeric/7.8.3-1gs.js
raw| 1 | // Copyright (c) 2012 Ecma International. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | es5id: 7.8.3-1gs |
| 6 | description: Strict Mode - octal extension(010) is forbidden in strict mode |
| 7 | negative: |
| 8 | phase: parse |
| 9 | type: SyntaxError |
| 10 | flags: [onlyStrict] |
| 11 | ---*/ |
| 12 | |
| 13 | throw "Test262: This statement should not be evaluated."; |
| 14 | |
| 15 | var y = 010; |