gopls/internal/analysis/noresultvalues/testdata/src/a/a.go.golden
raw| 1 | // Copyright 2020 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package noresultvalues |
| 6 | |
| 7 | func x() { return } // want `no result values expected|too many return values` |
| 8 | |
| 9 | func y() { return } // want `no result values expected|too many return values` |