Bounds check "x += y".

This commit is contained in:
Nigel Tao committed 2017-05-19 11:34:44 +10:00
1 parent 90c5f4758e
commit f713bb9a21
5 files changed
+111 -43

No files matched your search

+2 -2
View File
@@ -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