aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/2008-11-15-RetVoid.ll
blob: dbdcae28515eb7ce79bbb416660638fda440d72f (plain)
1
2
3
4
5
; RUN: not llvm-as < %s |& grep {returns non-void in Function of void return}

define void @foo() {
  ret i32 0
}