hanchenye-llvm-project/llgo/test/llgoi/import-source2.test

13 lines
206 B
Plaintext

// RUN: env GOPATH=%S/Inputs llgoi < %s | FileCheck %s
// Test that importing binary before source works.
import "strconv"
import "foo"
foo.Answer()
// CHECK: 42
strconv.FormatBool(true)
// CHECK: true