repo.or.cz
/
darwin-xtools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
210-2-3
[darwin-xtools.git]
/
dyld
/
unit-tests
/
test-cases
/
upward-dylib
/
main.c
blob
302478a78314e7e3d2ac45050a5003c2d2523a0c
1
#include <stdio.h>
// fprintf(), NULL
2
#include <stdlib.h>
// exit(), EXIT_SUCCESS
3
4
#include
"test.h"
// PASS(), FAIL(), XPASS(), XFAIL()
5
6
7
#include
"up.h"
8
#include
"down.h"
9
10
int
main
()
11
{
12
if
(
whatsup
() )
13
PASS
(
"upward-dylib"
);
14
else
15
FAIL
(
"upward-dylib"
);
16
17
return
EXIT_SUCCESS
;
18
}
19
20