llvm.org GIT mirror llvm / release_25 test / Other / 2008-10-06-RemoveDeadPass.ll
release_25

Tree @release_25 (Download .tar.gz)

2008-10-06-RemoveDeadPass.ll @release_25raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | opt -inline -internalize -disable-output
define void @foo() nounwind {
  ret void
}

define void @main(...) nounwind {
  call void @foo()
  ret void
}