Exemplo n.º 1
0
func main() {
	var t testing.T

	// make sure error mentions that
	// name is unexported, not just "name not found".

	t.name = nil // ERROR "unexported"

	println(testing.anyLowercaseName("asdf")) // ERROR "unexported" "undefined: testing.anyLowercaseName"
}