llvm-6502/test/Verifier/2008-11-15-RetVoid.ll
Nick Lewycky 70c44f0cce Correct this error message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59370 91177308-0d34-0410-b5e6-96231b3b80d8
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
}