mirror of
https://github.com/serge1/COFFI
synced 2026-06-08 17:24:32 +00:00
14 lines
291 B
C
14 lines
291 B
C
/* This program is used for testing the output of the "write_obj" example
|
|
* It is used when linking "answer.exe", and calls the object produced by the "write_obj" example
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
extern int answer();
|
|
|
|
int main()
|
|
{
|
|
int a = answer();
|
|
printf("The answer is %i", a);
|
|
}
|