mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 08:55:11 +01:00
Bounds check "x += y".
This commit is contained in:
1 parent
90c5f4758e
commit
f713bb9a21
5 files changed
+111
-43
No files matched your search
@@ -58,8 +58,8 @@ func TestCheck(t *testing.T) {
|
||||
var b bool
|
||||
|
||||
x = 0
|
||||
x = 1 + x
|
||||
y = -y
|
||||
x = 1 + (x * 0)
|
||||
y = -y - 1
|
||||
y = this.i
|
||||
b = not true
|
||||
|
||||
|
||||
Reference in new issue
Block a user