Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const mem = @import("std").mem;
- fn foo() void {
- const n: [] const u8 = undefined;
- comptime {
- if (mem.eql(u8, n, "")) {}
- }
- }
- pub fn main() void {
- comptime foo();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement