Source file test/fixedbugs/issue64565.go

     1  // run
     2  
     3  // Copyright 2023 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 main
     8  
     9  func main() {
    10  	m := "0"
    11  	for _, c := range "321" {
    12  		m = max(string(c), m)
    13  		println(m)
    14  	}
    15  }
    16  

View as plain text