aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhoujingyi <18801127720@163.com>2019-01-07 08:25:33 +0000
committerDmitry Vyukov <dvyukov@google.com>2019-01-07 10:01:28 +0100
commit69d69aa92d131444455d18b61ecdfdcb1fcb54e2 (patch)
treed427f65ab8799936bc58c915694dc198469e366f
parentfdc2fbc53d9478e61b7d3e6eba3673f58d0c0cce (diff)
Update hints_test.go
-rw-r--r--prog/hints_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/prog/hints_test.go b/prog/hints_test.go
index 72d9b47bb..67a250431 100644
--- a/prog/hints_test.go
+++ b/prog/hints_test.go
@@ -247,8 +247,8 @@ func TestHintsShrinkExpand(t *testing.T) {
// void f(u32 dw) {
// u8 b = (u8) dw
// i16 w = (i16) dw
- // if (a == 0xab) {...}
- // if (b == 0xcdcd) {...}
+ // if (b == 0xab) {...}
+ // if (w == 0xcdcd) {...}
// if (dw == 0xefefefef) {...}
// }; f(0x12345678);
"Shrink 32 test",
@@ -266,8 +266,8 @@ func TestHintsShrinkExpand(t *testing.T) {
// u8 b = (u8) qw
// u16 w = (u16) qw
// u32 dw = (u32) qw
- // if (a == 0xab) {...}
- // if (b == 0xcdcd) {...}
+ // if (b == 0xab) {...}
+ // if (w == 0xcdcd) {...}
// if (dw == 0xefefefef) {...}
// if (qw == 0x0101010101010101) {...}
// }; f(0x1234567890abcdef);