llvm-mirror/test/Verifier/2008-11-15-RetVoid.ll
Nick Lewycky 75d57a3bc3 Correct this error message.
llvm-svn: 59370
2008-11-15 17:50:47 +00:00

6 lines
114 B
LLVM

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