Line | |
---|
1 | #include "tst.h"
|
---|
2 | #include <stdio.h>
|
---|
3 |
|
---|
4 | MY_IMPORT(int) FuncA(void);
|
---|
5 | MY_IMPORT(int) FuncB(void);
|
---|
6 | MY_IMPORT(int) FuncC(void);
|
---|
7 |
|
---|
8 | int main()
|
---|
9 | {
|
---|
10 | unsigned long ul;
|
---|
11 | printf("graph:\n"
|
---|
12 | " tst-0 -> a -> d\n"
|
---|
13 | " b -> d\n"
|
---|
14 | " c -> d\n");
|
---|
15 | ul = FuncA() | FuncB() | FuncC();
|
---|
16 | if (ul == 0x42424242)
|
---|
17 | printf("tst-0: success, ul=%#lx\n", ul);
|
---|
18 | else
|
---|
19 | printf("tst-0: failure, ul=%#lx\n", ul);
|
---|
20 | return ul == 0x42424242 ? 0 : 1;
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.