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

6 lines
118 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: not llvm-as < %s |& grep {value doesn't match function result type 'void'}
define void @foo() {
ret i32 0
}