repo.or.cz
/
CMakeLuaTailorHgBridge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Resync
[CMakeLuaTailorHgBridge.git]
/
CMakeLua
/
Tests
/
COnly
/
conly.c
blob
7214fe1bcffac055d9f403b25ac7db214dee880b
1
#include
"foo.h"
2
3
#include
"libc1.h"
4
#include
"libc2.h"
5
6
#include <stdio.h>
7
8
int
main
()
9
{
10
int
class
=
0
;
11
if
(
LibC1Func
() !=
2.0
)
12
{
13
printf
(
"Problem with libc1
\n
"
);
14
return
1
;
15
}
16
if
(
LibC2Func
() !=
1.0
)
17
{
18
printf
(
"Problem with libc2
\n
"
);
19
return
1
;
20
}
21
printf
(
"Foo: %s %d
\n
"
,
foo
,
class
);
22
return
0
;
23
}