1 2 3 4 5 6 7 8
#include "mylib.h" DO_IMPORT int func(); DO_IMPORT int retval; int main() { return func() == retval ? 0 : 1; }