blob: c84c6836d62539666193391131edc2b059d90a04 [file] [log] [blame]
Colin Cross7bb052a2015-02-03 12:59:37 -08001// Copyright 2012 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 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}