master
1extern "" var a: u32;
2extern "" fn b() void;
3
4extern "\x00" var c: u32;
5extern "\x00" fn d() void;
6
7test "" {}
8test "\x00" {}
9
10const e = @import("");
11const f = @import("\x00");
12
13comptime {
14 const @"" = undefined;
15}
16comptime {
17 const @"\x00" = undefined;
18}
19
20// error
21//
22// :1:8: error: library name cannot be empty
23// :2:8: error: library name cannot be empty
24// :4:8: error: library name cannot contain null bytes
25// :5:8: error: library name cannot contain null bytes
26// :7:6: error: empty test name must be omitted
27// :8:6: error: test name cannot contain null bytes
28// :10:19: error: import path cannot be empty
29// :11:19: error: import path cannot contain null bytes
30// :14:11: error: identifier cannot be empty
31// :17:11: error: identifier cannot contain null bytes