Chandler Carruth | 5da5343 | 2012-07-02 18:37:59 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-as < %s 2>&1 | grep "value doesn't match function result type 'void'" |
Nick Lewycky | 967aeeb | 2008-11-15 17:50:47 +0000 | [diff] [blame] | 2 | |
3 | define void @foo() { | ||||
4 | ret i32 0 | ||||
5 | } |