]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | #include "foo.h" | |
3 | #include "bar.h" | |
4 | ||
5 | void* p; | |
6 | ||
7 | int main (void) | |
8 | { | |
9 | // non-lazy reference to foo2 | |
10 | p = &foo2; | |
11 | // lazy reference to foo4 | |
12 | foo4(); | |
13 | ||
14 | // non-lazy reference to bar2 | |
15 | p = &bar2; | |
16 | // lazy reference to bar4 and bar1 | |
17 | bar4(); | |
18 | bar1(); | |
19 | ||
20 | return 0; | |
21 | } | |
22 |