aboutsummaryrefslogtreecommitdiff
path: root/test/Other/2008-10-06-RemoveDeadPass.ll
blob: 7cec2c57c2f62affc5720b74f0568ffcd97fdfd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: opt < %s -inline -internalize -disable-output
define void @foo() nounwind {
  ret void
}

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