llvm/test/Verifier/2008-11-15-RetVoid.ll

6 lines
114 B
LLVM
Raw Normal View History

; RUN: not llvm-as < %s |& grep {returns non-void in Function of void return}
define void @foo() {
ret i32 0
}