1 #source: protected7.s
2 #as: --64
3 #ld: -shared -melf_x86_64
4 #error: .*relocation R_X86_64_GOTOFF64 against protected function `foo' can not be used when making a shared object
5