Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
hasDecl_with_non-container.zig
pretty
plain
permalink
blame
history
•
7 lines
•
139 B
1
export fn entry() void {
2
_ = @hasDecl(i32, "hi");
3
}
4
5
// error
6
//
7
// :2:18: error: expected struct, enum, union, or opaque; found 'i32'