Source file test/linkname.go

     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  */
    16  

View as plain text