### 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 #include extern const char* __hlt_hlto_scope; namespace __hlt::Foo { static std::optional X = {}; extern void __init_globals(::hilti::rt::Context* ctx); extern void __destroy_globals(::hilti::rt::Context* ctx); extern void __init_module(); extern void __register_module(); } HILTI_PRE_INIT(__hlt::Foo::__register_module) extern void __hlt::Foo::__destroy_globals(::hilti::rt::Context* ctx) { ::__hlt::Foo::X.reset();; } extern void __hlt::Foo::__init_globals(::hilti::rt::Context* ctx) { ::__hlt::Foo::X = "Hello, world!"s; } extern void __hlt::Foo::__init_module() { __location__("<...>/globals.hlt:16:1-16:15"); ::hilti::rt::print((*__hlt::Foo::X), &::hilti::rt::type_info::string, ::hilti::rt::Bool(true)); } extern void __hlt::Foo::__register_module() { ::hilti::rt::detail::registerModule({ "Foo", __hlt_hlto_scope, &__init_module, &__init_globals, &__destroy_globals, nullptr}); } // Begin of __linker__ // Compiled by HILTI version X.X.X #include // // Linker code generated for modules: // - Foo (<...>/globals.hlt) #include const char HILTI_EXPORT HILTI_WEAK * __hlt_hlto_library_version = <...> const char HILTI_EXPORT HILTI_WEAK * __hlt_hlto_bind_to_version = <...> const char HILTI_WEAK * __hlt_hlto_scope = <...>