test258
auto test258 =
q{--- test258.vx
// offsetof only applies to `type.member`, not `instance.member`
struct Color { u8 r; u8 g; u8 b; u8 a; }
u64 offsetof_a(Color c) { return c.offsetof; }
--- <error>
test258.vx:4:36: Error: `Color` has no member `offsetof`
};
tests passing
functionsvariables