mirror of
https://github.com/bitwiseworks/gcc-os2.git
synced 2026-07-19 07:05:22 +00:00
Source URL: git://gcc.gnu.org/git/gcc.git Source Commit: 3e7b85061947bdc7c7465743ba90734566860821
15 lines
322 B
C
15 lines
322 B
C
#include <stdlib.h>
|
|
#include <assert.h>
|
|
|
|
extern int runTests(void);
|
|
extern int lib_init(void);
|
|
extern int lib_term(void);
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
if (!lib_init()) return EXIT_SUCCESS;
|
|
const int res = runTests() ? EXIT_SUCCESS : EXIT_FAILURE;
|
|
if (!lib_term()) return EXIT_FAILURE;
|
|
return res;
|
|
}
|