blob: 5015a892aaac3dd620e6871ab8ec9368d52035e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Package magic tests resolution of the "unsafe" metapackage.
package magic
//- @"\"unsafe\"" ref/imports Unsafe=vname("package", "golang.org", _, "unsafe", "go")
import "unsafe"
// - @foo defines/binding Foo
// - Foo.node/kind variable
// - @unsafe ref Unsafe
// - @Pointer ref _UnsafePointer
var foo unsafe.Pointer
|