Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
export_with_empty_name_string.zig
pretty
plain
permalink
blame
history
•
8 lines
•
148 B
1
pub export fn entry() void {}
2
comptime {
3
@export(&entry, .{ .name = "" });
4
}
5
6
// error
7
//
8
// :3:25: error: exported symbol name cannot be empty