30 lines
701 B
JavaScript
30 lines
701 B
JavaScript
|
//// [scannerS7.8.3_A6.1_T1.ts]
|
||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||
|
|
||
|
/**
|
||
|
* HexIntegerLiteral :: 0(x/X) is incorrect
|
||
|
*
|
||
|
* @path ch07/7.8/7.8.3/S7.8.3_A6.1_T1.js
|
||
|
* @description Checking if execution of "0x" passes
|
||
|
* @negative
|
||
|
*/
|
||
|
|
||
|
//CHECK#1
|
||
|
0x
|
||
|
|
||
|
|
||
|
|
||
|
//// [scannerS7.8.3_A6.1_T1.js]
|
||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||
|
/**
|
||
|
* HexIntegerLiteral :: 0(x/X) is incorrect
|
||
|
*
|
||
|
* @path ch07/7.8/7.8.3/S7.8.3_A6.1_T1.js
|
||
|
* @description Checking if execution of "0x" passes
|
||
|
* @negative
|
||
|
*/
|
||
|
//CHECK#1
|
||
|
0x;
|