2016-08-02 04:28:26 +08:00
|
|
|
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;
|
2016-09-01 22:44:02 +08:00
|
|
|
int volatile b;
|
2016-08-02 04:28:26 +08:00
|
|
|
};
|