summaryrefslogtreecommitdiffstats
path: root/src/cmd/objdump/testdata/fmthello.go
blob: c8d82466dc9d75850006ee9fada06c0a45fbc2c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package main

import "fmt"

func main() {
	Println("hello, world")
	if flag {
//line fmthello.go:999999
		Println("bad line")
		for {
		}
	}
}

//go:noinline
func Println(s string) {
	fmt.Println(s)
}

var flag bool