test259
auto test259 = 
q{--- test259.vx
	// offsetof should not work on non-struct types
	enum a;
	enum b {m}
	enum test_1 = a.offsetof;
	enum test_2 = u8.offsetof;
	enum test_3 = b.m.offsetof;
--- <error>
test259.vx:4:17: Error: `a` has no member `offsetof`
test259.vx:5:18: Error: `u8` has no member `offsetof`
test259.vx:6:19: Error: `b` has no member `offsetof`
};
  
		tests passing 
		functionsvariables