1; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2; CHECK: value doesn't match function result type 'void'
3
4define void @foo() {
5  ret i32 0
6}
7