xref: /llvm-project/lld/test/ELF/executable-undefined-protected-ignoreall.s (revision 43b6689e6417e2ea7b26259db275427a864dd625)
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