brintos

brintos / llvm-project-archived public Read only

0
0
Text · 215 B · 658ab0b Raw
16 lines · cpp
1#include "instrprof-icall-promo.h"2extern int ref(A *);3 4int A::bar() { return 2; }5 6extern A *ap;7int test() {8  for (int i = 0; i < 10000; i++) ap->foo();9  return ref(ap);10}11 12int main() {13  test();14  return 0;15}16