llvm-for-llvmta/test/Linker/only-needed-recurse.ll

12 lines
183 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-recurse.ll | FileCheck %s
declare void @f2()
define void @f1() {
call void @f2()
ret void
}
; CHECK: define void @f3