summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-opt-report/Inputs/q.cpp
blob: 0982c6afdfe5cc0ef370bffc6f344b9a38015bda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
void bar();
void foo(int n) {
  for (int i = 0; i < n; ++i)
    bar();
}

void quack() {
  foo(4);
}

void quack2() {
  foo(4);
}

OpenPOWER on IntegriCloud