github.com/zach-klippenstein/go@v0.0.0-20150108044943-fcfbeb3adf58/test/linkx.go (about)

     1  // skip
     2  
     3  // Copyright 2012 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  // Test the -X facility of the gc linker (6l etc.).
     8  // This test is run by linkx_run.go.
     9  
    10  package main
    11  
    12  var tbd string
    13  var overwrite string = "dibs"
    14  
    15  func main() {
    16  	println(tbd)
    17  	println(overwrite)
    18  }