Exemple #1
0
func main() {
	var t testing.T

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

	t.ch = nil // ERROR "unexported"

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