aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/go1.21.go
blob: 885e588da86f5bcee4bfb76bcb070943cb5aeaae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package main

func main() {
	ia := 1
	ib := 5
	ic := -3
	fa := 1.0
	fb := 5.0
	fc := -3.0
	println("min/max:", min(ia, ib, ic), max(ia, ib, ic))
	println("min/max:", min(fa, fb, fc), max(fa, fb, fc))
}