Source file test/fixedbugs/issue43633.dir/a.go

     1  // Copyright 2021 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 a
     6  
     7  func F() bool {
     8  	{
     9  		x := false
    10  		_ = x
    11  	}
    12  	if false {
    13  		_ = func(x bool) {}
    14  	}
    15  	x := true
    16  	return x
    17  }
    18  
    19  func G() func() bool {
    20  	x := true
    21  	return func() bool {
    22  		{
    23  			x := false
    24  			_ = x
    25  		}
    26  		return x
    27  	}
    28  }
    29  

View as plain text