]> Cypherpunks.ru repositories - gostls13.git/blob - test/linkx.go
5l, 6l, 8l: implement -X flag
[gostls13.git] / test / linkx.go
1 // $G $D/$F.go && $L -X main.tbd hello $F.$A && ./$A.out
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 package main
8
9 var tbd string
10
11 func main() {
12         if tbd != "hello" {
13                 println("BUG: test/linkx", len(tbd), tbd)
14         }
15 }