zig/example/shared_library/mathtest.zig
Andrew Kelley 55b8472374 refactor code to prepare for multiple files
verbose compiler output is now behind --verbose flag
2015-11-30 20:00:39 -07:00

6 lines
105 B
Zig

#version("2.0.0")
export library "mathtest";
export fn add(a: i32, b: i32) -> i32 {
return a + b;
}