modernc.org/gc@v1.0.1-0.20240304020402-f0dba7c97c2b/testdata/errchk/test/linkname.go (about)

     1  // errorcheckandrundir -0 -m -l=4
     2  
     3  // Copyright 2010 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  // Tests that linknames are included in export data (issue 18167).
     8  package ignored
     9  
    10  /*
    11  Without CL 33911, this test would fail with the following error:
    12  
    13  main.main: relocation target linkname2.byteIndex not defined
    14  main.main: undefined: "linkname2.byteIndex"
    15  */