misc/cgo/testcarchive: don't use == for string equality in C code
commit3972574f11e5d49f12ad88faf2346f77ffc6e523
authorIan Lance Taylor <iant@golang.org>
Sat, 13 Mar 2021 03:17:09 +0000 (12 19:17 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 13 Mar 2021 04:06:50 +0000 (12 20:06 -0800)
tree7af3fb873fca7a1ffc829eb6c911de7c040831a6
parent8c2cf7f4f7ea749513a1d466a8ef668bc1c2f67c
misc/cgo/testcarchive: don't use == for string equality in C code

Backport of https://golang.org/cl/300993.

For PR go/99553

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/301458
gcc/go/gofrontend/MERGE
libgo/misc/cgo/testcarchive/testdata/main_unix.c