Files
go-legacy-win7/test/fixedbugs/issue71852.go
Vorapol Rinsatitnon 6304737d59 Update to go1.24.1
2025-03-07 10:53:05 +07:00

24 lines
302 B
Go

// compile
// Copyright 2025 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 main
import (
"math"
)
func main() {
test(2)
}
func test(i int) {
if i <= 0 {
return
}
_ = math.Pow10(i + 2)
}