You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
215 B

#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;
}