summaryrefslogtreecommitdiff
path: root/test/Verifier/2008-11-15-RetVoid.ll
blob: 62f6da1131398f967c8124a95a695a31f83c09e9 (plain)
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
}