llvm-project/llvm/test/Transforms/MetaRenamer/main.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
262 B
LLVM
Raw Normal View History

; Make sure @main is left untouched.
; RUN: opt -passes=metarenamer -S %s | FileCheck %s
; CHECK: define void @main
; CHECK: call void @main
define void @main() {
call void @patatino()
ret void
}
define void @patatino() {
call void @main()
ret void
}