aboutsummaryrefslogtreecommitdiff
path: root/test/Verifier/2008-11-15-RetVoid.ll
blob: aaef7030c5ac251be16c300e0fca14651cb9254b (plain)
1
2
3
4
5
; RUN: not llvm-as < %s |& grep {value doesn't match function result type 'void'}

define void @foo() {
  ret i32 0
}