1; RUN: llvm-link %s %S/Inputs/alias-2.ll -S -o - | FileCheck %s 2; RUN: llvm-link %S/Inputs/alias-2.ll %s -S -o - | FileCheck %s 3 4; Test the fix for PR26152, where A from the second module is 5; erroneously renamed to A.1 and not linked to the declaration from 6; the first module 7 8@C = alias void (), void ()* @A 9 10define void @D() { 11 call void @C() 12 ret void 13} 14 15define void @A() { 16 ret void 17} 18 19; CHECK-DAG: @C = alias void (), void ()* @A 20; CHECK-DAG: define void @B() 21; CHECK-DAG: call void @A() 22; CHECK-DAG: define void @D() 23; CHECK-DAG: call void @C() 24; CHECK-DAG: define void @A() 25