You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
220 B
14 lines
220 B
7 months ago
|
struct FOO {
|
||
|
FOO() : a(0), b(0) {}
|
||
|
int callee();
|
||
|
__attribute__((noinline)) void caller(int n) {
|
||
|
int r = callee();
|
||
|
if (r == 0) {
|
||
|
a += n;
|
||
|
b += 1;
|
||
|
}
|
||
|
}
|
||
|
int a;
|
||
|
int volatile b;
|
||
|
};
|