const src … func TestDeadCode(t *testing.T) { … } // TestSmoke runs the CFG builder on every FuncDecl in the standard // library and x/tools. (This is all well-typed code, but it gives // some coverage.) func TestSmoke(t *testing.T) { … } // A trivial mayReturn predicate that looks only at syntax, not types. func mayReturn(call *ast.CallExpr) bool { … } func formatNode(fset *token.FileSet, n ast.Node) string { … }