blob: 1b26f607dc1a7a5ed1ad611514fb986b22d4932b [file]
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.mod --
module example.com/m //@diag("module", re`unknown godebug "gotypealias"`)
go 1.23
godebug (
gotypealias=0 // misspelled
)
godebug gotypesalias=1