Debian Codegraph @

test cases/common/80 declare dep/main.c

raw
1 #include<entity.h>
2 #include<stdio.h>
3
4 #ifndef USING_ENT
5 #error "Entity use flag not used for compilation."
6 #endif
7
8 int main(void) {
9 if(entity_func1() != 5) {
10 printf("Error in func1.\n");
11 return 1;
12 }
13 if(entity_func2() != 9) {
14 printf("Error in func2.\n");
15 return 2;
16 }
17 return 0;
18 }