test/fixedbugs/issue42401.go
raw| 1 | // rundir |
| 2 | |
| 3 | // Copyright 2020 The Go Authors. All rights reserved. |
| 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
| 7 | // Issue 42401: linkname doesn't work correctly when a variable symbol |
| 8 | // is both imported (possibly through inlining) and linkname'd. |
| 9 | |
| 10 | package ignored |