blob: 1f95ab586e2de9fa82b354fdd0a207b43ad2dbd7 [file] [log] [blame]
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* DecimalLiteral :: HexIntegerLiteral
*
* @path ch07/7.8/7.8.3/S7.8.3_A5.1_T8.js
* @description HexIntegerLiteral :: 0X one of a, b, c, d, e, f
*/
//CHECK#a
if (0Xa !== 10) {
$ERROR('#a: 0Xa === 10');
}
//CHECK#b
if (0Xb !== 11) {
$ERROR('#b: 0Xb === 11');
}
//CHECK#c
if (0Xc !== 12) {
$ERROR('#c: 0Xc === 12');
}
//CHECK#d
if (0Xd !== 13) {
$ERROR('#d: 0Xd === 13');
}
//CHECK#e
if (0Xe !== 14) {
$ERROR('#e: 0Xe === 14');
}
//CHECK#f
if (0Xf !== 15) {
$ERROR('#f: 0Xf === 15');
}