mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
13 lines
118 B
Go
13 lines
118 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
a := []*int{}
|
|
a = append(a, nil)
|
|
fmt.Println(a)
|
|
}
|
|
|
|
// Output:
|
|
// [<nil>]
|