blob: 3a9311e3ca5759df2973d0a1b244876eed1e6084 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
volatile int x, y;
__attribute__((constructor))
void init_x() {
x = 14;
}
__attribute__((constructor))
void init_y() {
y = 144;
}
int main() {
return x + y;
}
|