xref: /llvm-project/compiler-rt/test/profile/Inputs/comdat_rename.h (revision fbd3de7851b5874c282c34d9077f470c344e3870)
1 struct FOO {
FOOFOO2   FOO() : a(0), b(0) {}
3   int callee();
callerFOO4   __attribute__((noinline)) void caller(int n) {
5       int r = callee();
6       if (r == 0) {
7         a += n;
8         b += 1;
9       }
10   }
11   int a;
12   int volatile b;
13 };
14