### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
[debug/compiler] parsing file "<...>/basic-module.hlt" as HILTI code
[debug/compiler] registering ".hlt" AST for module Foo ("<...>//basic-module.hlt")
[debug/compiler] resolving units with plugin HILTI: Foo
[debug/compiler]   [HILTI] validating module Foo (pre)
[debug/compiler]   processing ASTs, round 0
[debug/compiler]     resetting nodes for module Foo
[debug/compiler]     [HILTI] building scopes for module Foo
[debug/compiler]     [HILTI] normalizing nodes in module Foo
[debug/compiler]     [HILTI] coercing nodes in module Foo
[debug/compiler]     [HILTI] resolving nodes in module Foo
[debug/compiler]       -> modified
[debug/compiler]   processing ASTs, round 1
[debug/compiler]     resetting nodes for module Foo
[debug/compiler]     [HILTI] building scopes for module Foo
[debug/compiler]     [HILTI] normalizing nodes in module Foo
[debug/compiler]     [HILTI] coercing nodes in module Foo
[debug/compiler]     [HILTI] resolving nodes in module Foo
[debug/ast-final] # [HILTI] Foo: Final AST (round 1)
[debug/ast-final]   - Module %4 (basic-module.hlt:5:1-11:2) [@m:XXX]
[debug/ast-final]       | Foo -> declaration::Module %6 <id="Foo"> [canon-id: Foo] [@d:XXX] ([@d:XXX])
[debug/ast-final]       | X -> declaration::Type %1 <linkage="private"> [canon-id: Foo::X] (resolved) [@d:XXX] ([@d:XXX])
[debug/ast-final]       | foo -> declaration::Function %2 <linkage="private" parent_type="%???"> [canon-id: Foo::foo] [@d:XXX] ([@d:XXX])
[debug/ast-final]     - ID <name="Foo"> (basic-module.hlt:5:8) [@i:XXX]
[debug/ast-final]     - statement::Block (basic-module.hlt:5:1-11:2) [@s:XXX]
[debug/ast-final]     - declaration::Type %1 <linkage="private"> (basic-module.hlt:5:13-7:15) [canon-id: Foo::X] (resolved) [@d:XXX]
[debug/ast-final]       - ID <name="X"> (basic-module.hlt:7:6) [@i:XXX]
[debug/ast-final]       - type::Bool (basic-module.hlt:7:10) (const) (type-id: Foo::X) (resolved) [@t:XXX]
[debug/ast-final]       - node::None (basic-module.hlt:5:13-7:15) [@n:XXX]
[debug/ast-final]     - declaration::Function %2 <linkage="private" parent_type="%???"> (basic-module.hlt:9:1) [canon-id: Foo::foo] [@d:XXX]
[debug/ast-final]         | bar -> declaration::Parameter %3 <is_type_param="false" kind="in"> [canon-id: Foo::foo::bar] [@d:XXX] ([@d:XXX])
[debug/ast-final]       - Function <cc="<standard>"> (basic-module.hlt:9:8) [@f:XXX]
[debug/ast-final]         - ID <name="foo"> (basic-module.hlt:9:16) [@i:XXX]
[debug/ast-final]         - type::Function <flavor="standard"> (basic-module.hlt:9:8) (const) (resolved) [@t:XXX]
[debug/ast-final]           - type::function::Result (basic-module.hlt:9:9) [@t:XXX]
[debug/ast-final]             - type::String (basic-module.hlt:9:9) (const) (resolved) [@t:XXX]
[debug/ast-final]           - declaration::Parameter %3 <is_type_param="false" kind="in"> (basic-module.hlt:9:20) [canon-id: Foo::foo::bar] [@d:XXX]
[debug/ast-final]             - ID <name="bar"> (basic-module.hlt:9:25) [@i:XXX]
[debug/ast-final]             - type::Real (basic-module.hlt:9:20) (const) (resolved) [@t:XXX]
[debug/ast-final]             - node::None (basic-module.hlt:5:13-7:15) [@n:XXX]
[debug/ast-final]             - node::None (basic-module.hlt:5:13-7:15) [@n:XXX]
[debug/ast-final]         - node::None (basic-module.hlt:5:13-7:15) [@n:XXX]
[debug/ast-final]         - node::None (basic-module.hlt:5:13-7:15) [@n:XXX]
[debug/compiler]   [HILTI] validating module Foo (post)
[debug/compiler]   finalized module Foo
[debug/compiler]   compiling module Foo to C++
[debug/compiler]     finalizing module Foo
// Begin of Foo (from "<...>/basic-module.hlt")
// Compiled by HILTI version X.X.X

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

#include <hilti/rt/libhilti.h>

extern const char* __hlt_hlto_scope;

namespace __hlt::Foo {
    extern void __register_module();
}

HILTI_PRE_INIT(__hlt::Foo::__register_module)

extern void __hlt::Foo::__register_module() { ::hilti::rt::detail::registerModule({ "Foo", __hlt_hlto_scope, nullptr, nullptr, nullptr, nullptr}); }

/* __HILTI_LINKER_V1__
{"module":"Foo","namespace":"__hlt::Foo","path":"<...>/basic-module.hlt","version":1}
*/

