Eli Bendersky | c3d5c1c | 2013-04-08 18:33:51 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-as < %s 2>&1 | FileCheck %s |
2 | ; CHECK: value doesn't match function result type 'void' | ||||
Nick Lewycky | 70c44f0 | 2008-11-15 17:50:47 +0000 | [diff] [blame] | 3 | |
4 | define void @foo() { | ||||
5 | ret i32 0 | ||||
6 | } |