3 // Copyright 2011 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 // Test unsafe.Sizeof, unsafe.Alignof, and unsafe.Offsetof all return uintptr.
19 func isUintptr(uintptr) {}
22 isUintptr(unsafe.Sizeof(t))
23 isUintptr(unsafe.Alignof(t))
24 isUintptr(unsafe.Offsetof(t.X))