summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleExclude/dirD/t9.c
blob: 9954ea567b4850f8dd506a18703816d4aeedcd8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <stdio.h>

extern int tlib7func();

#ifdef __CLASSIC_C__
int main()
{
  int ac;
  char* av[];
#else
int main(int ac, char* av[])
{
#endif
  if (ac > 1000) {
    return *av[0];
  }
  printf("This is T9. This one should work.\n");

  if (tlib7func() != 7) {
    fprintf(stderr, "Something wrong with T7\n");
    return 1;
  }
  return 0;
}