mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 20:52:14 +00:00
Add a test.
This would have found the error in r309252. llvm-svn: 309329
This commit is contained in:
parent
b5eca2f9a2
commit
06ad7ed70c
9
lld/test/ELF/weak-undef-export.s
Normal file
9
lld/test/ELF/weak-undef-export.s
Normal file
@ -0,0 +1,9 @@
|
||||
# REQUIRES: x86
|
||||
|
||||
# Test that we don't fail with foo being undefined.
|
||||
|
||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
||||
# RUN: ld.lld --export-dynamic %t.o -o %t
|
||||
|
||||
.weak foo
|
||||
.quad foo
|
Loading…
x
Reference in New Issue
Block a user