gotools/gopls/internal/test/marker/testdata/workfile/godebug_bad.txt

This test checks that we surface the error for unexpected godebug values.

TODO(golang/go#67623): the diagnostic should be on the bad godebug value.

-- flags --
-min_go_command=go1.23
-errors_ok

-- go.work --
go 1.23

use .

godebug (
	gotypealias=0 // misspelled
)
godebug gotypesalias=1

-- go.mod --
module example.com/m //@diag("module", re`unknown godebug "gotypealias"`)

go 1.23