adds test case for #394 partially reverts a32b5929ccf8cbf79396d8924097a1a911985dac
@import("builtin")
@compileVar