1// compile
2
3// Copyright 2016 The Go Authors. All rights reserved.
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7// The compiler used the name "glob" as the function holding a global
8// function literal, colliding with an actual function named "glob".
9
10package main
11
12func glob() {
13	func() {
14	}()
15}
16
17var c1 = func() {
18}
19
20var c2 = func() {
21}
22
23func main() {
24	glob()
25	c1()
26	c2()
27}
28