summaryrefslogtreecommitdiffstats
path: root/test/oldescape_linkname.dir/linkname3.go
blob: cbbd3a10ba2baf8a82744bc7ecfbfcb559d7affd (plain)
1
2
3
4
5
6
7
8
9
10
11
package main

import _ "./linkname1"
import "./linkname2"

func main() { // ERROR "can inline main"
	str := "hello/world"
	bs := []byte(str)        // ERROR "\(\[\]byte\)\(str\) escapes to heap"
	if y.ContainsSlash(bs) { // ERROR "inlining call to y.ContainsSlash"
	}
}