master
1export fn foo() void {
2 const bytes align(@alignOf([]const u8)) = [1]u8{0xfa} ** 16;
3 _ = @as(*const []const u8, @ptrCast(&bytes)).*;
4}
5
6// error
7//
8// :3:49: error: comptime dereference requires '[]const u8' to have a well-defined layout