aboutsummaryrefslogtreecommitdiff
path: root/test/Verifier/2008-11-15-RetVoid.ll
blob: f2cdc8ce4decd530e381febb9cfaee0195940f86 (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
}