3 // Copyright 2012 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Issue 4614: slicing of nil slices confuses the compiler
8 // with a uintptr(nil) node.
16 var _ = []int(nil)[1:]
17 var _ = []int(nil)[n:]
19 var _ = uintptr(unsafe.Pointer(nil))
20 var _ = unsafe.Pointer(uintptr(0))