diff --git a/compiler-rt/test/cfi/cross-dso/dlopen.cpp b/compiler-rt/test/cfi/cross-dso/dlopen.cpp index 028ab2d30573..4cd2f3e97edb 100644 --- a/compiler-rt/test/cfi/cross-dso/dlopen.cpp +++ b/compiler-rt/test/cfi/cross-dso/dlopen.cpp @@ -64,7 +64,7 @@ extern "C" void *create_B() { return (void *)(new B()); } -extern "C" void do_nothing() __attribute__((aligned(4096))) {} +extern "C" __attribute__((aligned(4096))) void do_nothing() {} #else