2007-02-22 16:39:12 +03:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
extern int tlib7func();
|
|
|
|
|
|
|
|
#ifdef __CLASSIC_C__
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
int ac;
|
2016-05-16 17:34:04 +03:00
|
|
|
char* av[];
|
2007-02-22 16:39:12 +03:00
|
|
|
#else
|
2016-05-16 17:34:04 +03:00
|
|
|
int main(int ac, char* av[])
|
|
|
|
{
|
2007-02-22 16:39:12 +03:00
|
|
|
#endif
|
2016-05-16 17:34:04 +03:00
|
|
|
if (ac > 1000) {
|
|
|
|
return *av[0];
|
|
|
|
}
|
|
|
|
printf("This is T9. This one should work.\n");
|
2007-02-22 16:39:12 +03:00
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
if (tlib7func() != 7) {
|
|
|
|
fprintf(stderr, "Something wrong with T7\n");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|