blob: db7f7315e6ab093f912b540791787a4612d9901f [file] [log] [blame]
Dan Willemsen0c157092016-07-08 13:57:52 -07001// Copyright 2012 The Go Authors. All rights reserved.
Colin Cross7bb052a2015-02-03 12:59:37 -08002// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package main
6
7import "./a"
8
9func main() {
10 for _, f := range []func() int{
11 a.F1, a.F2, a.F3, a.F4,
12 a.F5, a.F6, a.F7, a.F8, a.F9} {
13 if f() > 1 {
14 panic("f() > 1")
15 }
16 }
17}