2 #include <aros/debug.h>
4 #include <proto/version.h>
5 #include <proto/exec.h>
9 int main(int argc
, char **argv
)
11 LONG retval
= RETURN_ERROR
;
16 version
= atoi(argv
[1]);
19 struct Library
*VersionBase
= OpenLibrary("version.library", version
);
22 if (VersionBase
->lib_Version
== 40)
28 bug("lib_Version != 40\n");
30 CloseLibrary(VersionBase
);
34 bug("Can't open version.library v%u\n", version
);