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

Tree @stable (Download .tar.gz)

2008-10-06-RemoveDeadPass.ll @stableraw · 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
}