Apply LOCAL_PATCHES and remove not used ones.
[official-gcc.git] / libphobos / testsuite / libphobos.shared / linkD.c
blob657c9e8f9d3f02a3f957e2c13c5565b29b98e520
1 #include <stdlib.h>
2 #include <assert.h>
4 extern int runTests(void);
5 extern int lib_init(void);
6 extern int lib_term(void);
8 int main(int argc, char* argv[])
10 if (!lib_init()) return EXIT_SUCCESS;
11 const int res = runTests() ? EXIT_SUCCESS : EXIT_FAILURE;
12 if (!lib_term()) return EXIT_FAILURE;
13 return res;