Source file test/fixedbugs/issue27836.dir/Þfoo.go

     1  // Copyright 2022 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package Þfoo
     6  
     7  var ÞbarV int = 101
     8  
     9  func Þbar(x int) int {
    10  	defer func() { ÞbarV += 3 }()
    11  	return Þblix(x)
    12  }
    13  
    14  func Þblix(x int) int {
    15  	defer func() { ÞbarV += 9 }()
    16  	return ÞbarV + x
    17  }
    18  

View as plain text