aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/2008-11-15-RetVoid.ll
blob: 42503fabbec9e83beb52ed34c0ba5b72dc5fc497 (plain)
1
2
3
4
5
; RUN: not llvm-as < %s 2>&1 | grep "value doesn't match function result type 'void'"

define void @foo() {
  ret i32 0
}