| author | |
| committer | |
| log | 845226a7c92edc4d6c35727023c63e4cbcf20bbb |
| tree | 2ee2f57d7aaec9ce4026179796cfc09d1de7069c |
| parent | bfc0c35689cd5781a3493bdd9c9b8d527847c7a2 |
| signature |
6 files changed, 9 insertions(+), 9 deletions(-)
test/cases/compile_errors/compile_log.zig+1-1| ... | ... | @@ -21,7 +21,7 @@ export fn baz() void { |
| 21 | 21 | // |
| 22 | 22 | // Compile Log Output: |
| 23 | 23 | // @as(*const [5:0]u8, "begin") |
| 24 | // @as(*const [1:0]u8, "a"), @as(i32, 12), @as(*const [1:0]u8, "b"), @as([]const u8, "hi") | |
| 24 | // @as(*const [1:0]u8, "a"), @as(i32, 12), @as(*const [1:0]u8, "b"), @as([]const u8, "hi"[0..2]) | |
| 25 | 25 | // @as(*const [3:0]u8, "end") |
| 26 | 26 | // @as(comptime_int, 4) |
| 27 | 27 | // @as(*const [5:0]u8, "begin") |
test/cases/compile_errors/compile_log_a_pointer_to_an_opaque_value.zig+1-1| ... | ... | @@ -9,4 +9,4 @@ export fn entry() void { |
| 9 | 9 | // :2:5: error: found compile log statement |
| 10 | 10 | // |
| 11 | 11 | // Compile Log Output: |
| 12 | // @as(*const anyopaque, (function 'entry')) | |
| 12 | // @as(*const anyopaque, &tmp.entry) |
test/cases/compile_errors/reify_type_for_exhaustive_enum_with_undefined_tag_type.zig+1-1| ... | ... | @@ -14,4 +14,4 @@ export fn entry() void { |
| 14 | 14 | // backend=stage2 |
| 15 | 15 | // target=native |
| 16 | 16 | // |
| 17 | // :1:13: error: use of undefined value here causes undefined behavior | |
| 17 | // :1:20: error: use of undefined value here causes undefined behavior |
test/cases/compile_errors/reify_type_union_payload_is_undefined.zig+1-1| ... | ... | @@ -9,4 +9,4 @@ comptime { |
| 9 | 9 | // backend=stage2 |
| 10 | 10 | // target=native |
| 11 | 11 | // |
| 12 | // :1:13: error: use of undefined value here causes undefined behavior | |
| 12 | // :1:20: error: use of undefined value here causes undefined behavior |
test/cases/compile_errors/reify_type_with_undefined.zig+3-3| ... | ... | @@ -28,6 +28,6 @@ comptime { |
| 28 | 28 | // backend=stage2 |
| 29 | 29 | // target=native |
| 30 | 30 | // |
| 31 | // :2:9: error: use of undefined value here causes undefined behavior | |
| 32 | // :5:9: error: use of undefined value here causes undefined behavior | |
| 33 | // :17:9: error: use of undefined value here causes undefined behavior | |
| 31 | // :2:16: error: use of undefined value here causes undefined behavior | |
| 32 | // :5:16: error: use of undefined value here causes undefined behavior | |
| 33 | // :17:16: error: use of undefined value here causes undefined behavior |
test/cases/comptime_aggregate_print.zig+2-2| ... | ... | @@ -31,5 +31,5 @@ pub fn main() !void {} |
| 31 | 31 | // :20:5: error: found compile log statement |
| 32 | 32 | // |
| 33 | 33 | // Compile Log Output: |
| 34 | // @as([]i32, .{ (reinterpreted data) }) | |
| 35 | // @as([]i32, .{ (reinterpreted data) }) | |
| 34 | // @as([]i32, &(comptime alloc).buf[0..2]) | |
| 35 | // @as([]i32, &(comptime alloc).buf[0..2]) |