]>
Commit | Line | Data |
---|---|---|
a645023d | 1 | #include <stddef.h> |
d696c285 A |
2 | |
3 | #include "foo.h" | |
4 | ||
5 | ||
6 | int* pdata5 = &data5; | |
7 | int* pdata6 = &data6; | |
8 | ||
a645023d | 9 | void* pf3; |
d696c285 A |
10 | |
11 | int main (void) | |
12 | { | |
13 | // make non-lazy reference to func3 and func4 | |
a645023d A |
14 | pf3 = &func3; |
15 | if ( &func4 == NULL ) { | |
16 | // make lazy reference to func1 and func2 | |
d696c285 A |
17 | func1(); |
18 | func2(); | |
19 | } | |
20 | ||
21 | return data1 + data2 + data3 + data4; | |
22 | } | |
23 |