Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
reject_extern_function_definitions_with_body.zig
pretty
plain
permalink
blame
history
•
7 lines
•
135 B
1
extern "c" fn definitelyNotInLibC(a: i32, b: i32) i32 {
2
return a + b;
3
}
4
5
// error
6
//
7
// :1:1: error: extern functions have no body