| // 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'); |