blob: a571fe0e0df12049a1e7a691d66a7c9528a62281 [file] [log] [blame]
package meta
func Foobar() {}
// ^ ^ offset 25
// \ offset 19
func Barfoo() {}
// ^ ^ offset 84
// \ offset 78
// Note: The locations in this file are connected to the offsets defined in the
// associated meta file. If you move anything above this comment without
// updating the metadata, the test may break.
//- FA.node/kind anchor
//- FA.loc/start 19
//- FA.loc/end 25
//- FA defines/binding Foobar
//- Foobar.node/kind function
//- _Alt=vname(gsig, gcorp, groot, gpath, glang) generates Foobar
//- FB.node/kind anchor
//- FB.loc/start 78
//- FB.loc/end 84
//- FB defines/binding Barfoo
//- Barfoo.node/kind function
//- _AltB=vname(gsig2, gcorp, groot, gpath, glang) generates Barfoo
//- vname("", gcorp, groot, gpath, "") generates vname("", kythe, _, "go/indexer/metadata_test/meta.go", "")