llvm.org GIT mirror llvm / release_30 test / Verifier / 2008-11-15-RetVoid.ll
release_30

Tree @release_30 (Download .tar.gz)

2008-11-15-RetVoid.ll @release_30raw · history · blame

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
}