Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn bug() usize {
- const buff: []const u8 = undefined;
- const concatted: []const u8 = buff ++ "fozify";
- @compileError("ERROR");
- return 1;
- }
- pub fn main() void {
- const no = comptime bug();
- @import("std").debug.warn("no = {}\n", no);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement