| 1 |
# go.dev/issue/66092 |
| 2 |
# This test ensures that files listed on the commandline will pass |
| 3 |
# the language version to the compiler. |
| 4 |
# All compilations should specify some -lang. |
| 5 |
|
| 6 |
go build -n x.go |
| 7 |
stderr '-lang=go1\.[0-9]+' |
| 8 |
|
| 9 |
-- x.go -- |
| 10 |
package main |