Sign in
go
/
website
/
e7879e0f78ec3dbf8b9f42f3381d2a34a77fb423
/
.
/
_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!")
}
}