### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
// Begin of Foo (from "<...>/globals.hlt")
// Compiled by HILTI version X.X.X

#include <hilti/rt/compiler-setup.h>

#include <hilti/rt/libhilti.h>

extern uint64_t hlt_internal_hlto_scope;

namespace hlt_internal::Foo {
    static ::hilti::rt::Optional<std::string> X = {};
    extern void _t_init_globals(::hilti::rt::Context* ctx);
    extern void _t_destroy_globals(::hilti::rt::Context* ctx);
    extern void _t_init_module();
    extern void _t_register_module();
}

HILTI_PRE_INIT(hlt_internal::Foo::_t_register_module)

extern void hlt_internal::Foo::_t_destroy_globals(::hilti::rt::Context* ctx) { ::hlt_internal::Foo::X.reset();; }

extern void hlt_internal::Foo::_t_init_globals(::hilti::rt::Context* ctx) { ::hlt_internal::Foo::X = ::hilti::rt::optional::make("Hello, world!"s); }

extern void hlt_internal::Foo::_t_init_module() {
      ::hilti::rt::location("<...>/globals.hlt:16:1-16:15");
    ::hilti::rt::print((*hlt_internal::Foo::X), &::hilti::rt::type_info::string, ::hilti::rt::Bool(true));
}

extern void hlt_internal::Foo::_t_register_module() {
    ::hilti::rt::Library::setScope(&hlt_internal_hlto_scope);
    ::hilti::rt::detail::registerModule({ "Foo", hlt_internal_hlto_scope, &_t_init_module, &_t_init_globals, &_t_destroy_globals, nullptr});
}

// Begin of __linker__
// Compiled by HILTI version X.X.X

#include <hilti/rt/compiler-setup.h>

// 
// Linker code generated for modules:
//   - Foo (<...>/globals.hlt)

#include <hilti/rt/libhilti.h>

const char HILTI_EXPORT HILTI_WEAK * hlt_internal_hlto_library_version = <...>
const char HILTI_EXPORT HILTI_WEAK * hlt_internal_hlto_bind_to_version = <...>
HILTI_HIDDEN uint64_t hlt_internal_hlto_scope = 0;

