2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
7 #include <aros/debug.h>
9 #include <proto/version.h>
10 #include <proto/exec.h>
14 int main(int argc
, char **argv
)
16 LONG retval
= RETURN_ERROR
;
21 version
= atoi(argv
[1]);
24 struct Library
*VersionBase
= OpenLibrary("version.library", version
);
27 if (VersionBase
->lib_Version
== 40)
33 bug("lib_Version != 40\n");
35 CloseLibrary(VersionBase
);
39 bug("Can't open version.library v%u\n", version
);