The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
222 B
13 lines
222 B
4 years ago
|
#include<stdlib.h>
|
||
|
#include<adder.h>
|
||
|
|
||
|
int main(int argc, char **argv) {
|
||
|
adder *a = adder_create(3);
|
||
|
int result = adder_add(a, 4);
|
||
|
if(result != 7) {
|
||
|
return 1;
|
||
|
}
|
||
|
adder_destroy(a);
|
||
|
return 0;
|
||
|
}
|