Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
@import_zon_string_as_array.zig
pretty
plain
permalink
blame
history
•
10 lines
•
207 B
1
export fn entry() void {
2
const f: [5]u8 = @import("zon/hello.zon");
3
_ = f;
4
}
5
6
// error
7
// imports=zon/hello.zon
8
//
9
// hello.zon:1:1: error: expected type '[5]u8'
10
// tmp.zig:2:30: note: imported here