Sign in
go
/
website
/
76748e4222ddc2c6608348f9724f680ec0de8d21
/
.
/
_content
/
tour
/
moretypes
/
nil-slices.go
blob: a317027ce61831f17e4b7f2aa8b2a628cb783db8 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
func main() {
var s []int
fmt.Println(s, len(s), cap(s))
if s == nil {
fmt.Println("nil!")
}
}