diff --git a/bolt/test/AArch64/text-data.c b/bolt/test/AArch64/text-data.c --- a/bolt/test/AArch64/text-data.c +++ b/bolt/test/AArch64/text-data.c @@ -8,13 +8,13 @@ // CHECK: {{.*}} : -#include +extern void exit(int); typedef void (*FooPtr)(); void exitOk() { exit(0); } -__attribute__((section(".text"))) const FooPtr arr[] = {exitOk, NULL}; +__attribute__((section(".text"))) const FooPtr arr[] = {exitOk, 0}; int main() { arr[0]();