...
Run Format

Source file test/linkx.go

Documentation: test

     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  import "fmt"
    13  
    14  var tbd string
    15  var overwrite string = "dibs"
    16  
    17  var b bool
    18  var x int
    19  
    20  func main() {
    21  	fmt.Println(tbd)
    22  	fmt.Println(overwrite)
    23  }
    24  

View as plain text