test60
auto test60 =
q{--- test60
// Test dot operator on pointer type
struct SDL_KeyboardEvent {
u32 type;
u32 timestamp;
SDL_Keysym keysym;
}
struct SDL_Keysym {
u32 scancode;
u32 sym;
}
void run(SDL_KeyboardEvent* key) {
if (key.keysym.scancode == 1) {
key.keysym.sym = 42;
}
}
};
tests passing
functionsvariables