1 // Copyright 2017 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.
15 p, err := plugin.Open("issue.22295.so")
19 f, err := p.Lookup("F")
24 got := f.(func() int)()
26 log.Fatalf("got %d, want %d", got, want)