bolt/deps/llvm-18.1.8/llvm/test/Other/2008-10-06-RemoveDeadPass.ll

12 lines
180 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: opt < %s -passes='cgscc(inline)',internalize -disable-output
define void @foo() nounwind {
ret void
}
define void @main(...) nounwind {
call void @foo()
ret void
}