discard """ output: "works!" """ # this tests the new overflow literals var i: int i = int(0xffffffff'i32) when defined(cpu64): if i == -1: write(stdout, "works!\n") else: write(stdout, "broken!\n") else: if i == -1: write(stdout, "works!\n") else: write(stdout, "broken!\n") #OUT works!