test122
auto test122 =
q{--- test122
// Test global pointer initialization
u32 glob = 42;
u32* glob_ptr = &glob;
u32* get_ptr() { return glob_ptr; }
u32 read_global() { return *glob_ptr; }
void set_global(u32 val) { *glob_ptr = val; }
};
tests passing
functionsvariables