summaryrefslogtreecommitdiffstats
path: root/Tests/COnly/conly.c
blob: 7214fe1bcffac055d9f403b25ac7db214dee880b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "foo.h"

#include "libc1.h"
#include "libc2.h"

#include <stdio.h>

int main ()
{
  int class = 0;
  if ( LibC1Func() != 2.0 )
    {
    printf("Problem with libc1\n");
    return 1;
    }
  if ( LibC2Func() != 1.0 )
    {
    printf("Problem with libc2\n");
    return 1;
    }
  printf("Foo: %s %d\n", foo, class);
  return 0;
}