Sema: implement comptime @memcpy

This commit is contained in:
Andrew Kelley
2023-04-23 15:10:18 -07:00
parent 83a7303bbf
commit 482a0f648c
2 changed files with 37 additions and 6 deletions

View File

@@ -387,8 +387,7 @@ test "memcpy and memset intrinsics" {
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
try testMemcpyMemset();
// TODO add comptime test coverage
//comptime try testMemcpyMemset();
try comptime testMemcpyMemset();
}
fn testMemcpyMemset() !void {