blob: 512563975ed64fa6ac60d95c00bc40f37a5bb0f1 [file] [log] [blame]
package burnin
type sendCmdFunc func(string)
func sendCommand(c string) {}
func NewSomething() {
// This works...
// var sendCmd sendCmdFunc
// sendCmd = sendCommand
// So does this...
//sendCmd := sendCmdFunc(sendCommand)
// This fails...
sendCmd := sendCommand
_ = sendCmd
}