blob: 5da4c8804aac978be9420621a0bb0a109348c323 [file] [log] [blame]
package main
// Tests of call-graph queries.
// See go.tools/oracle/oracle_test.go for explanation.
// See callgraph2.golden for expected query results.
// (Regression test for pointer analysis: programs that use reflection
// create some cgnodes before the root of the callgraph.)
import _ "reflect"
func f() {}
func main() {
f()
}
// @callgraph callgraph "^"