Commit 469a747e authored by Ian Lance Taylor's avatar Ian Lance Taylor

test: avoid undefined error in syntax/if.go.

Without this the gccgo version of errchk reports an unmatched
error.

R=golang-dev, rsc1
CC=golang-dev
https://golang.org/cl/4327041
parent 0bc37a6d
......@@ -6,6 +6,9 @@
package main
func x() {
}
func main() {
if { // ERROR "missing condition"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment