TestFromTestdata: fncall

This commit is contained in:
xushiwei
2024-04-20 23:15:10 +08:00
parent cb148c1a3e
commit 24690ad6b2
4 changed files with 151 additions and 17 deletions

12
cl/_testdata/fncall/in.go Normal file
View File

@@ -0,0 +1,12 @@
package fncall
func max(a, b int) int {
if a > b {
return a
}
return b
}
func Foo() int {
return max(1, 2)
}