1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 23:12:55 +01:00
llvm-mirror/test/Other/2008-10-06-RemoveDeadPass.ll
Devang Patel ca66d093c0 Remove interfaces implemented by dead pass from the list of available passes.
Patch By Matthijs Kooijman.

llvm-svn: 57202
2008-10-06 20:36:36 +00:00

12 lines
175 B
LLVM

; RUN: llvm-as < %s | opt -inline -internalize -disable-output
define void @foo() nounwind {
ret void
}
define void @main(...) nounwind {
call void @foo()
ret void
}