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.
14 p, err := plugin.Open("plugin.so")
19 val, err := p.Lookup("Val")
24 const want = "linkstr"
26 fmt.Fprintf(os.Stderr, "issue19418 value is %q, want %q\n", got, want)