repo.or.cz
/
cmake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
STYLE: Nightly Version update
[cmake.git]
/
Tests
/
TestDriver
/
test1.cxx
blob
ac82f8ae9a1c0bc4bb35d54de0e226ff3c34259a
1
#include <stdio.h>
2
int
testExtraStuff3
();
3
int
testExtraStuff
();
4
int
testExtraStuff2
();
5
6
int
test1
(
int
ac
,
char
*
av
[])
7
{
8
if
(!
testExtraStuff2
())
9
{
10
return
-
1
;
11
}
12
if
(!
testExtraStuff
())
13
{
14
return
-
1
;
15
}
16
if
(!
testExtraStuff3
())
17
{
18
return
-
1
;
19
}
20
21
printf
(
"test1
\n
"
);
22
for
(
int
i
=
0
;
i
<
ac
;
i
++)
23
printf
(
"arg %d is %s
\n
"
,
ac
,
av
[
i
]);
24
return
0
;
25
}