def METHOD_NAME():
    """
      Regression test for a Boost Build bug causing it to not use a generator
    if it got added after already building a target of its target type.
    """
    t = BoostBuild.Tester()
    t.write("dummy.cpp", "void f() {}\n")
    t.write("jamroot.jam", """\