1; RUN: llvm-link %s -override %S/Inputs/override-with-internal-linkage-2.ll -S | FileCheck %s 2; RUN: llvm-link -override %S/Inputs/override-with-internal-linkage-2.ll %s -S | FileCheck %s 3 4; CHECK-LABEL: define i32 @foo 5; CHECK-NEXT: entry: 6; CHECK-NEXT: %add = add nsw i32 %i, %i 7; CHECK-NEXT: ret i32 %add 8define i32 @foo(i32 %i) { 9entry: 10 %add = add nsw i32 %i, %i 11 ret i32 %add 12} 13 14; CHECK-LABEL: define internal i32 @foo.1 15; CHECK-NEXT: entry: 16; CHECK-NEXT: ret i32 4 17 18; Function Attrs: nounwind ssp uwtable 19define i32 @main(i32 %argc, i8** %argv) { 20entry: 21 %a = call i32 @foo(i32 2) 22 ret i32 %a 23} 24