Meg's Mirrors
zig
about
branches
tags
log
tree
search
Search
zig
test
cases
noreturn_call_inline.zig
pretty
plain
permalink
blame
history
•
15 lines
•
169 B
1
const std = @import("std");
2
3
pub fn main() void {
4
_ = bar();
5
}
6
7
inline fn bar() u8 {
8
noret();
9
}
10
11
inline fn noret() noreturn {
12
std.process.exit(0);
13
}
14
15
// run