Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / profile / Inputs / instrprof-comdat-1.cpp
blobbd574ec3fb89ed1fb73800bc94ef69f9d5c63bd6
1 #include "instrprof-comdat.h"
2 int g;
3 extern int bar(int);
5 int main() {
7 FOO<int> Foo;
9 int Res = Foo.DoIt(10);
11 if (Res > 10)
12 g = bar(10);
13 else
14 g = bar(1) + bar(2);
15 return 0;