You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
24
external/llvm/test/Linker/alias-2.ll
vendored
Normal file
24
external/llvm/test/Linker/alias-2.ll
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
; RUN: llvm-link %s %S/Inputs/alias-2.ll -S -o - | FileCheck %s
|
||||
; RUN: llvm-link %S/Inputs/alias-2.ll %s -S -o - | FileCheck %s
|
||||
|
||||
; Test the fix for PR26152, where A from the second module is
|
||||
; erroneously renamed to A.1 and not linked to the declaration from
|
||||
; the first module
|
||||
|
||||
@C = alias void (), void ()* @A
|
||||
|
||||
define void @D() {
|
||||
call void @C()
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @A() {
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK-DAG: @C = alias void (), void ()* @A
|
||||
; CHECK-DAG: define void @B()
|
||||
; CHECK-DAG: call void @A()
|
||||
; CHECK-DAG: define void @D()
|
||||
; CHECK-DAG: call void @C()
|
||||
; CHECK-DAG: define void @A()
|
Reference in New Issue
Block a user