1
0
mirror of https://github.com/golang/go synced 2024-11-19 15:44:44 -07:00
go/test/linkx.go
Russ Cox e3755434b8 5l, 6l, 8l: implement -X flag
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/5643050
2012-02-07 16:46:33 -05:00

16 lines
333 B
Go

// $G $D/$F.go && $L -X main.tbd hello $F.$A && ./$A.out
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
var tbd string
func main() {
if tbd != "hello" {
println("BUG: test/linkx", len(tbd), tbd)
}
}