3 // Copyright 2012 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.
7 // Verify that the Go compiler will not
8 // die after running into an undefined
9 // type in the argument list for a
15 func mine(int b) int { // ERROR "undefined.*b"
16 return b + 2 // ERROR "undefined.*b"
20 mine() // ERROR "not enough arguments"
21 c = mine() // ERROR "undefined.*c|not enough arguments"