[cfi] Fix a warning in tests.

test/cfi/cross-dso/dlopen.cpp:67:45: warning: GCC does not allow 'aligned' attribute in this position on a function definition [-Wgcc-compat]
extern "C" void do_nothing() __attribute__((aligned(4096))) {}

llvm-svn: 258992
This commit is contained in:
Evgeniy Stepanov 2016-01-27 21:49:03 +00:00
parent d9272422a2
commit e7f8b23716
1 changed files with 1 additions and 1 deletions

View File

@ -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