reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
#include "instrprof-icall-promo.h"
extern int ref(A *);

int A::bar() { return 2; }

extern A *ap;
int test() {
  for (int i = 0; i < 10000; i++) ap->foo();
  return ref(ap);
}

int main() {
  test();
  return 0;
}