diff --git a/compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp b/compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp index efb24751da5ff..24a96a227393a 100644 --- a/compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp +++ b/compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp @@ -165,8 +165,9 @@ // // IR: [[MERGE0]]: // IR: [[RES2:%.*]] = phi i32 [ [[RES1]], %[[MERGE1]] ], [ [[RESBB1]], %[[BB1]] ] -#include -#include + +#include +#include class Base { public: virtual int func(int a, int b) = 0; @@ -195,6 +196,7 @@ __attribute__((noinline)) Base *createType(int a) { base = new Derived2(); return base; } + int main(int argc, char **argv) { int sum = 0; for (int i = 0; i < 1000; i++) {