summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue27836.dir/Þfoo.go
blob: ea6be0f49fdcc5d537e7126e0e7a26e185939cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

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
}