protected7a.d 174 B

1234
  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