mirror of
https://github.com/golang/go
synced 2024-11-23 17:00:07 -07:00
31d19c0ba3
Also includes a small tweak to test/run.go to allow package names with Unicode letters (as opposed to just ASCII chars). Updates #27836 Change-Id: Idbf0bdea24174808cddcb69974dab820eb13e521 Reviewed-on: https://go-review.googlesource.com/138075 Reviewed-by: Cherry Zhang <cherryyz@google.com>
14 lines
192 B
Go
14 lines
192 B
Go
package Äfoo
|
|
|
|
var ÄbarV int = 101
|
|
|
|
func Äbar(x int) int {
|
|
defer func() { ÄbarV += 3 }()
|
|
return Äblix(x)
|
|
}
|
|
|
|
func Äblix(x int) int {
|
|
defer func() { ÄbarV += 9 }()
|
|
return ÄbarV + x
|
|
}
|