test221
auto test221 =
q{--- test221
// store function pointer into struct member
// `debugCallback` IR type was not generated because it is located after `run`
struct S {
void function() funcPtr;
}
void run() {
S createInfo;
createInfo.funcPtr = &debugCallback;
}
void debugCallback() {}
};
tests passing
functionsvariables