llvm-project/compiler-rt/test/profile/Inputs/instrprof-comdat-2.cpp

13 lines
166 B
C++

#include "instrprof-comdat.h"
int bar(int I) {
FOO<long> Foo;
FOO<int> Foo2;
if (I > 5)
return (int)Foo.DoIt(10);
else
return (int)Foo2.DoIt(I);
}