Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Tests/COnly/conly.c
3148 views
1
#include <stdio.h>
2
3
#include "foo.h"
4
#include "libc1.h"
5
#include "libc2.h"
6
7
int main(void)
8
{
9
int class = 0;
10
if (LibC1Func() != 2.0) {
11
printf("Problem with libc1\n");
12
return 1;
13
}
14
if (LibC2Func() != 1.0) {
15
printf("Problem with libc2\n");
16
return 1;
17
}
18
printf("Foo: %s %d\n", foo, class);
19
return 0;
20
}
21
22