[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / compiler-rt / test / profile / Inputs / instrprof-icall-promo_2.cpp
blob658ab0bf44d1260f8149191bf4d2a54ac39a2111
1 #include "instrprof-icall-promo.h"
2 extern int ref(A *);
4 int A::bar() { return 2; }
6 extern A *ap;
7 int test() {
8 for (int i = 0; i < 10000; i++) ap->foo();
9 return ref(ap);
12 int main() {
13 test();
14 return 0;