xref: /aosp_15_r20/external/compiler-rt/test/profile/Inputs/instrprof-icall-promo_1.cc (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger Robot #include "instrprof-icall-promo.h"
2*7c3d14c8STreehugger Robot 
3*7c3d14c8STreehugger Robot A a;
4*7c3d14c8STreehugger Robot 
5*7c3d14c8STreehugger Robot A* ap = &a;
6*7c3d14c8STreehugger Robot 
ref(A * ap)7*7c3d14c8STreehugger Robot int ref(A* ap) { return ap->A::foo(); }
8