src/cmd/link/internal/ld/testdata/issue39757/issue39757main.go
raw| 1 | // Copyright 2020 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package main |
| 6 | |
| 7 | var G int |
| 8 | |
| 9 | func main() { |
| 10 | if G != 101 { |
| 11 | println("not 101") |
| 12 | } else { |
| 13 | println("well now that's interesting") |
| 14 | } |
| 15 | } |