blob: 3948378ad48cb954f1cdc00801cc19b56b3604d3 [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.toSigned(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.toSigned$1$i(x, y));
P.print(true);
P.print(true);
}