diff options
Diffstat (limited to 'tests/core/cgo/split_import_x_test.go')
-rw-r--r-- | tests/core/cgo/split_import_x_test.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/core/cgo/split_import_x_test.go b/tests/core/cgo/split_import_x_test.go new file mode 100644 index 00000000..9202eaad --- /dev/null +++ b/tests/core/cgo/split_import_x_test.go @@ -0,0 +1,13 @@ +package a_test + +import ( + "testing" + + "github.com/bazelbuild/rules_go/tests/core/cgo/split_import/b" +) + +func TestExternal(t *testing.T) { + if b.HalfAnswer() != 21 { + t.Error("wrong answer") + } +} |