aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/83 declare dep/main.c
blob: 62200c9435db4de755220ec21d9c4b74256048fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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;
}