1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
12 // extern void f7665(void);
18 var bad7665 unsafe
.Pointer
= C
.f7665
19 var good7665
uintptr = uintptr(C
.f7665
)
21 func test7665(t
*testing
.T
) {
22 if bad7665
== nil ||
uintptr(bad7665
) != good7665
{
23 t
.Errorf("ptrs = %p, %#x, want same non-nil pointer", bad7665
, good7665
)