github.com/axw/llgo@v0.0.0-20160805011314-95b5fe4dca20/test/llgoi/import-source2.test (about)

     1  // RUN: env GOPATH=%S/Inputs llgoi < %s | FileCheck %s
     2  
     3  // Test that importing binary before source works.
     4  import "strconv"
     5  
     6  import "foo"
     7  
     8  foo.Answer()
     9  // CHECK: 42
    10  
    11  strconv.FormatBool(true)
    12  // CHECK: true