]>
Commit | Line | Data |
---|---|---|
d696c285 A |
1 | |
2 | #include "header.h" | |
3 | ||
4 | int uninit; | |
5 | int init = 1; | |
afe874b1 | 6 | static int custom __asm__(".my_non_standard_name") = 1; |
d696c285 A |
7 | static int suninit; |
8 | static int sinit=0; | |
afe874b1 | 9 | static int scustominit __asm__(".my_non_standard_name_static") = 1; |
d696c285 A |
10 | |
11 | int bar(int x) | |
12 | { | |
13 | static int bar_uninit; | |
14 | static int bar_init=3; | |
15 | bar_uninit = x; | |
2f2f92e4 A |
16 | scustominit = x; |
17 | custom = x; | |
d696c285 A |
18 | return 20 + suninit + sinit + |
19 | bar_init + bar_uninit + foo(x); | |
20 | } | |
21 | ||
afe874b1 | 22 | extern void disappear() __asm__("lbegone"); |
2f2f92e4 A |
23 | void disappear() {} |
24 | ||
afe874b1 | 25 | extern void foo() __asm__(".my_non_standard_function_name"); |
2f2f92e4 | 26 | void foo() { disappear(); } |
d696c285 | 27 |