| // Copyright 2009 the Sputnik authors. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| info: "DecimalLiteral :: HexIntegerLiteral" |
| description: "HexIntegerLiteral :: 0X NonZeroDigit Digits" |
| $ERROR('#2: 0X10 === 16'); |
| $ERROR('3: 0X100 === 256'); |
| $ERROR('#4: 0X1000 === 4096'); |
| $ERROR('#5: 0X10000 === 65536'); |
| if (0X100000 !== 1048576) { |
| $ERROR('#6: 0X100000 === 1048576'); |
| if (0X1000000 !== 16777216) { |
| $ERROR('#7: 0X1000000 === 16777216'); |
| if (0X10000000 !== 268435456) { |
| $ERROR('#8: 0X10000000 === 268435456'); |