test-shared-lib/test.c

9 lines
242 B
C
Raw Normal View History

2020-05-16 23:32:17 +02:00
#include <stdio.h>
#include "test_shared_library.h"
2020-05-16 23:42:11 +02:00
int main(void) {
printf("Program should print \"Hello World\" by calling library function "
"and return number 12.\n----\n");
2020-05-16 23:32:17 +02:00
printf("Hello result: %d\n", hello(12));
return 0;
}