diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-11-30 19:58:53 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-11-30 20:00:39 -0700 |
| commit | 55b8472374eede496b59396dbe253b05b16063e1 (patch) | |
| tree | c2d9be8780e272d4fc6fc1a59b20e9a8c1dab755 /example/shared_library/test.c | |
| parent | ef482ece7c047e898fdc2ea15ba4216c15309d0c (diff) | |
| download | zig-55b8472374eede496b59396dbe253b05b16063e1.tar.gz zig-55b8472374eede496b59396dbe253b05b16063e1.zip | |
refactor code to prepare for multiple files
verbose compiler output is now behind --verbose flag
Diffstat (limited to 'example/shared_library/test.c')
| -rw-r--r-- | example/shared_library/test.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/example/shared_library/test.c b/example/shared_library/test.c new file mode 100644 index 0000000000..4fff250f08 --- /dev/null +++ b/example/shared_library/test.c @@ -0,0 +1,7 @@ +#include "mathtest.h" +#include <stdio.h> + +int main(int argc, char **argv) { + printf("%d\n", add(42, 1137)); + return 0; +} |
