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
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
8 @C = alias void (), ptr @A
19 ; CHECK-DAG: @C = alias void (), ptr @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()