blob: 770481a6cd13d61f43c8021160841e6f71a094e7 [file] [log] [blame] [edit]
# go.dev/issue/66092
# This test ensures that files listed on the commandline will pass
# the language version to the compiler.
# All compilations should specify some -lang.
go build -n x.go
stderr '-lang=go1\.[0-9]+'
-- x.go --
package main