mirror of https://github.com/tc39/test262.git
17 lines
383 B
JavaScript
17 lines
383 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
info: "HexIntegerLiteral :: 0(x/X) is incorrect"
|
|
es5id: 7.8.3_A6.1_T2
|
|
description: Checking if execution of "0X" passes
|
|
negative:
|
|
phase: parse
|
|
type: SyntaxError
|
|
---*/
|
|
|
|
throw "Test262: This statement should not be evaluated.";
|
|
|
|
//CHECK#1
|
|
0X
|