mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-09 22:04:10 +00:00
Add tests for linker and linkonce globals
llvm-svn: 5791
This commit is contained in:
parent
545bebf00c
commit
9e76a35273
8
test/Regression/Linker/LinkOnce.ll
Normal file
8
test/Regression/Linker/LinkOnce.ll
Normal file
@ -0,0 +1,8 @@
|
||||
; This fails because the linker renames the non-opaque type not the opaque
|
||||
; one...
|
||||
|
||||
; RUN: echo "%X = linkonce global int 8" | as > Output/%s.2.bc
|
||||
; RUN: as < %s > Output/%s.1.bc
|
||||
; RUN: link Output/%s.[12].bc | dis
|
||||
|
||||
%X = linkonce global int 7
|
Loading…
x
Reference in New Issue
Block a user