cmd/compile: fix test case for unified IR (fix build)

For #48301.

Change-Id: Ie5f57dcce86773c06c5140abf13a6cfff79eb323
Reviewed-on: https://go-review.googlesource.com/c/go/+/348743
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
Robert Griesemer 2021-09-09 15:55:05 -07:00
parent 1a708bcf1d
commit b32209d22d

View File

@ -9,5 +9,5 @@
package p
func _() {
type T = T // ERROR "T uses T"
type T = T // ERROR "T uses T|invalid recursive type T"
}