xref: /llvm-project/compiler-rt/test/profile/Inputs/instrprof-comdat-2.cpp (revision 8b1f80779b119492002b90041873287bef6fb7d8)
1 #include "instrprof-comdat.h"
2 
bar(int I)3 int bar(int I) {
4 
5   FOO<long> Foo;
6   FOO<int> Foo2;
7 
8   if (I > 5)
9     return (int)Foo.DoIt(10);
10   else
11     return (int)Foo2.DoIt(I);
12 }
13