Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
call_runtime_known_inline_fn_ptr.zig
pretty
plain
permalink
blame
history
•
11 lines
•
214 B
1
export fn entry() void {
2
var a = &b;
3
a = a;
4
a();
5
}
6
inline fn b() void {}
7
8
// error
9
//
10
// :4:5: error: unable to resolve comptime value
11
// :4:5: note: function being called inline must be comptime-known