add regression test for invalid multiple dereferences
add regression test for invalid multiple dereferences

closes #1042

zig-lang/zig,andrewrk/zig,zig-lang/zig,zig-lang/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,andrewrk/zig