mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 08:02:32 +00:00
fb492d19eb
See #329 Supporting work: * move std.cstr.Buffer0 to std.buffer.Buffer * add build.zig to example/shared_library/ and add an automated test for it * add std.list.List.resizeDown * improve std.os.makePath - no longer recursive - takes into account . and .. * add std.os.path.isAbsolute * add std.os.path.resolve * reimplement std.os.path.dirname - no longer requires an allocator - handles edge cases correctly
8 lines
128 B
C
8 lines
128 B
C
#include "mathtest.h"
|
|
#include <assert.h>
|
|
|
|
int main(int argc, char **argv) {
|
|
assert(add(42, 1337) == 1379);
|
|
return 0;
|
|
}
|