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

Tree @release_33 (Download .tar.gz)

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

1
2
3
4
5
6
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: value doesn't match function result type 'void'

define void @foo() {
  ret i32 0
}