1// Copyright 2016 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5package issue13742 6 7import ( 8 "go/ast" 9 . "go/ast" 10) 11 12// Both F0 and G0 should appear as functions. 13func F0(Node) {} 14func G0() Node { return nil } 15 16// Both F1 and G1 should appear as functions. 17func F1(ast.Node) {} 18func G1() ast.Node { return nil } 19