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

Tree @release_39 (Download .tar.gz)

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

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

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