diff options
| author | 2022-08-27 10:02:07 +0200 | |
|---|---|---|
| committer | 2022-08-27 10:02:07 +0200 | |
| commit | c07fbb3121cb16c19e692193bc739ac364480a91 (patch) | |
| tree | 124df01a43170ec99f83cfd39bb9f6880ee71062 /test | |
| parent | a87f70e73b9670f212e097bd1401f4d268299465 (diff) | |
fix value when assign op store overflows, also typecheck assignops
Diffstat (limited to 'test')
| -rw-r--r-- | test/2.cff | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,5 +15,5 @@ extern fn main() int { foo.flag = #t; foo.num = -2; foo.num *= 10; - printf("0x%X: %d, %d, %d\n", foo.#raw, foo.tag, foo.flag, foo.num); + printf("0x%X: %d, %d, %d\n", foo.#raw, foo.tag, foo.flag, foo.num += 532); } |