ssa: fix abi map init
This commit is contained in:
@@ -7,6 +7,7 @@ func main() {
|
||||
make4()
|
||||
make5()
|
||||
make6()
|
||||
make7()
|
||||
}
|
||||
|
||||
func make1() {
|
||||
@@ -113,3 +114,15 @@ func make6() {
|
||||
println(k, v)
|
||||
}
|
||||
}
|
||||
|
||||
func make7() {
|
||||
type N int
|
||||
m := map[N]string{
|
||||
1: "hello",
|
||||
2: "world",
|
||||
}
|
||||
for k, v := range m {
|
||||
println(k, v)
|
||||
}
|
||||
println(m[1])
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user