bolt/deps/llvm-18.1.8/compiler-rt/test/profile/Inputs/comdat_rename.h
2025-02-14 19:21:04 +01:00

13 lines
220 B
C

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;
};