Recommit r243824: -Wdeprecated-clean: Fix cases of violating the rule of 5 in ways...
[oota-llvm.git] / test / Verifier / 2008-11-15-RetVoid.ll
1 ; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2 ; CHECK: value doesn't match function result type 'void'
3
4 define void @foo() {
5   ret i32 0
6 }