Source file test/fixedbugs/issue35652.go

     1  // compile
     2  
     3  // Copyright 2019 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  package p
     8  
     9  func e() {
    10  	for true {
    11  		if true {
    12  			continue
    13  		}
    14  	}
    15  }
    16  
    17  func g() {}
    18  
    19  func f() {
    20  	i := 0
    21  	if true {
    22  		i++
    23  	}
    24  	for true {
    25  		continue
    26  		g()
    27  	}
    28  }
    29  

View as plain text