1#include "instrprof-comdat.h"
2int g;
3extern int bar(int);
4
5int main() {
6
7 FOO<int> Foo;
8
9 int Res = Foo.DoIt(ti: 10);
10
11 if (Res > 10)
12 g = bar(10);
13 else
14 g = bar(1) + bar(2);
15 return 0;
16}
17
18

source code of compiler-rt/test/profile/Inputs/instrprof-comdat-1.cpp