zig/example/shared_library/mathtest.zig
Andrew Kelley 9d9201c3b4 bring back code that uses export and fix tests
partial revert of 1fdebc1dc4881a00766f7c2b4b2d8ee6ad6e79b6
2017-12-19 02:39:43 -05:00

4 lines
51 B
Zig

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