1package burnin
2
3type sendCmdFunc func(string)
4
5func sendCommand(c string) {}
6
7func NewSomething() {
8	// This works...
9	// var sendCmd sendCmdFunc
10	// sendCmd = sendCommand
11
12	// So does this...
13	//sendCmd := sendCmdFunc(sendCommand)
14
15	// This fails...
16	sendCmd := sendCommand
17
18	_ = sendCmd
19}
20