#include "../libco/co_super.h" #include "../libco/co_module.h" #include "../libco/co_conv.h" #include "../libco/co_debug.h" #include "test_util.h" #include "mod.cometa" int main (void) { co mod; int check; co_super sup = co_super_new (); __co_file_init_mod_c (sup); mod = M (sup, module_load, "libco_module_testing") . _co; check = M (mod, getid) . _int; CO_DEBUG (1, "%x", check); if (check != 0xF0A42) error (1, "unexpected value returned\n"); M (sup, destroy, 0); return 0; }