github.com/neilgarb/delve@v1.9.2-nobreaks/_fixtures/genericbp.go (about) 1 package main 2 3 import "fmt" 4 5 func testfn[T any](arg T) { 6 fmt.Println(arg) 7 } 8 9 func main() { 10 testfn[uint16](1) 11 testfn[float64](2.1) 12 }