blob: e2e290dc90b3e6d7c7c24130e9391548bbf01d63 [file] [log] [blame]
// Expectation for test:
// main() {
// var x = int.parse('1233');
// var y = int.parse('1234');
// print(x is int);
// print(y is int);
// print(x.toUnsigned(y));
// print(x is int);
// print(y is int);
// }
function() {
var x = P.int_parse("1233", null, null), y = P.int_parse("1234", null, null);
P.print(typeof x === "number" && Math.floor(x) === x);
P.print(typeof y === "number" && Math.floor(y) === y);
P.print(J.toUnsigned$1$i(x, y));
P.print(true);
P.print(true);
}