1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 15:50:04 +08:00
SpaceVim/bundle/nvim-treesitter-0.9.1/tests/indent/go/switch.go

21 lines
190 B
Go

// issue #2166
package main
import (
"fmt"
)
func test(ch byte) {
fmt.Println("hey!")
switch ch {
case 'l':
return
}
var i interface{}
switch i.(type) {
case int:
return
}
}