Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/numeric/S7.8.3_A5.1_T8.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: "DecimalLiteral :: HexIntegerLiteral"
6 es5id: 7.8.3_A5.1_T8
7 description: "HexIntegerLiteral :: 0X one of a, b, c, d, e, f"
8 ---*/
9
10 //CHECK#a
11 if (0Xa !== 10) {
12 $ERROR('#a: 0Xa === 10');
13 }
14
15 //CHECK#b
16 if (0Xb !== 11) {
17 $ERROR('#b: 0Xb === 11');
18 }
19
20 //CHECK#c
21 if (0Xc !== 12) {
22 $ERROR('#c: 0Xc === 12');
23 }
24
25 //CHECK#d
26 if (0Xd !== 13) {
27 $ERROR('#d: 0Xd === 13');
28 }
29
30 //CHECK#e
31 if (0Xe !== 14) {
32 $ERROR('#e: 0Xe === 14');
33 }
34
35 //CHECK#f
36 if (0Xf !== 15) {
37 $ERROR('#f: 0Xf === 15');
38 }