Add comdat key field to llvm.global_ctors and llvm.global_dtors
[oota-llvm.git] / test / Verifier / 2008-11-15-RetVoid.ll
index dbdcae28515eb7ce79bbb416660638fda440d72f..62f6da1131398f967c8124a95a695a31f83c09e9 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: not llvm-as < %s |& grep {returns non-void in Function of void return}
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
+; CHECK: value doesn't match function result type 'void'
 
 define void @foo() {
   ret i32 0