xref: /llvm-project/llvm/test/Verifier/2008-11-15-RetVoid.ll (revision aa3ffafbde462b1e8ac5c666c8822e738418c195)
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