code: def test_basic():
      t = BoostBuild.Tester(use_test_config=False)
  
      t.write("jamroot.jam", "")
      t.write("d1/a.cpp", "int main() {}\n")
      t.write("d1/jamfile.jam", "exe a : [ glob *.cpp ] ../d2/d//l ;")
      t.write(
          "d2/d/l.cpp",
          """\
  #if defined(_WIN32)
  __declspec(dllexport)
  void force_import_lib_creation() {}
  #endif
  """,
      )
      t.write("d2/d/jamfile.jam", "lib l : [ glob *.cpp ] ;")
      t.write("d3/d/jamfile.jam", "exe a : [ glob ../*.cpp ] ;")
      t.write("d3/a.cpp", "int main() {}\n")
  
      t.run_build_system(subdir="d1")
      t.expect_addition("d1/bin/$toolset/debug*/a.exe")
  
      t.run_build_system(subdir="d3/d")
      t.expect_addition("d3/d/bin/$toolset/debug*/a.exe")
  
      t.rm("d2/d/bin")
      t.run_build_system(subdir="d2/d")
      t.expect_addition("d2/d/bin/$toolset/debug*/l.dll")
  
      t.cleanup()
  
imports: import BoostBuild
label_desc: Use image node_id 1 for calling a global function with example usage: test_basic() without return types