blob: 36451eade1d5fd11dbb8bb6e38e4ca591d5da7ab [file] [log] [blame]
package maps
func _() {
var aVar int //@item(mapVar, "aVar", "int", "var")
// not comparabale
type aSlice []int //@item(mapSliceType, "aSlice", "[]int", "type")
// comparable
type aStruct struct{} //@item(mapStructType, "aStruct", "struct{...}", "struct")
map[]a{} //@complete("]", mapStructType, mapSliceType, mapVar)
map[a]a{} //@complete("]", mapStructType, mapSliceType, mapVar)
map[a]a{} //@complete("{", mapSliceType, mapStructType, mapVar)
map[]a{} //@rank("]", int, mapSliceType)
}