1// Copyright 2016 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.
4
5package main
6
7// // No C code required.
8import "C"
9
10import "testplugin/common"
11
12func F() int { return 17 }
13
14var FuncVar = func() {}
15
16func ReadCommonX() int {
17	FuncVar()
18	return common.X
19}
20
21func main() {
22	panic("plugin1.main called")
23}
24