summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/Inputs/ctu-chain.cpp
blob: 2314dde1df0d076a6f537a21b8fed88e8edf5a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
int h_chain(int x) {
  return x * 2;
}

namespace chns {
int chf3(int x);

int chf2(int x) {
  return chf3(x);
}

class chcls {
public:
  int chf4(int x);
};

int chcls::chf4(int x) {
  return x * 3;
}
}
OpenPOWER on IntegriCloud