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.
19 lines
330 B
19 lines
330 B
5 years ago
|
#include<entity.h>
|
||
|
#include<stdio.h>
|
||
|
|
||
|
#ifndef USING_ENT
|
||
|
#error "Entity use flag not used for compilation."
|
||
|
#endif
|
||
|
|
||
|
int main(void) {
|
||
|
if(entity_func1() != 5) {
|
||
|
printf("Error in func1.\n");
|
||
|
return 1;
|
||
|
}
|
||
|
if(entity_func2() != 9) {
|
||
|
printf("Error in func2.\n");
|
||
|
return 2;
|
||
|
}
|
||
|
return 0;
|
||
|
}
|