mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
7b924b5661
Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D88690
17 lines
307 B
LLVM
17 lines
307 B
LLVM
; Make sure @main is left untouched.
|
|
; RUN: opt -metarenamer -S %s | FileCheck %s
|
|
; 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
|
|
}
|