blob: bc0f2e6de4baec427c34816aad59c1056d71af94 [file] [log] [blame]
This test verifies that we fail loudly if a module name contains
command-line-arguments.
-- flags --
-errors_ok
-- go.mod --
module command-line-arguments //@diag("module", re`command-line-arguments.*disallowed`)
go 1.12
-- x/x.go --
package x //@diag("x", re`command-line-arguments.*disallowed`)