2017-08-28 05:46:59 +08:00
|
|
|
# REQUIRES: x86
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
|
2018-08-05 05:47:16 +08:00
|
|
|
# RUN: not ld.lld --no-undefined -shared %t -o /dev/null
|
|
|
|
# RUN: ld.lld -shared %t -o /dev/null
|
2017-08-28 05:46:59 +08:00
|
|
|
|
|
|
|
.globl _shared
|
|
|
|
_shared:
|
|
|
|
callq _unresolved@PLT
|