1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t 3# RUN: not ld.lld %t -o /dev/null --unresolved-symbols=ignore-all -pie 2>&1 | FileCheck %s 4# CHECK: error: undefined protected symbol: foo 5 6.protected foo 7_start: 8callq foo@PLT 9