zig/example/shared_library/mathtest.zig
Andrew Kelley d917815d81 explicitly return from blocks
instead of last statement being expression value

closes #629
2017-12-22 00:50:30 -05:00

4 lines
59 B
Zig

export fn add(a: i32, b: i32) -> i32 {
return a + b;
}