Skip to content

Commit 30e0fea

Browse files
committed
fix test/writebarrier.go
1 parent 08992fd commit 30e0fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/writebarrier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func f3a(x *string, y *string) {
6060
}
6161

6262
func f4(x *[2]string, y [2]string) {
63-
*x = y // ERROR "write barrier"
63+
*x = y // no barrier (dead store)
6464

6565
z := y // no barrier
6666
*x = z // ERROR "write barrier"

0 commit comments

Comments
 (0)