2011-09-07 08:35:18 +02:00
|
|
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
2014-07-22 01:09:02 +02:00
|
|
|
/*---
|
|
|
|
info: "DecimalLiteral :: HexIntegerLiteral"
|
2014-07-25 00:41:42 +02:00
|
|
|
es5id: 7.8.3_A5.1_T8
|
2014-07-22 01:09:02 +02:00
|
|
|
description: "HexIntegerLiteral :: 0X one of a, b, c, d, e, f"
|
|
|
|
---*/
|
2011-09-07 08:35:18 +02:00
|
|
|
|
|
|
|
//CHECK#a
|
|
|
|
if (0Xa !== 10) {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#a: 0Xa === 10');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#b
|
|
|
|
if (0Xb !== 11) {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#b: 0Xb === 11');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#c
|
|
|
|
if (0Xc !== 12) {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#c: 0Xc === 12');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#d
|
|
|
|
if (0Xd !== 13) {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#d: 0Xd === 13');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#e
|
|
|
|
if (0Xe !== 14) {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#e: 0Xe === 14');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//CHECK#f
|
|
|
|
if (0Xf !== 15) {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#f: 0Xf === 15');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|