Pull out this predicate loop into a helper function.
[oota-llvm.git] / test / Verifier / 2008-01-11-VarargAttrs.ll
index 1f4c9c72b4048936aba32d8effdd29fbee3fd299..b6ce6251cfc6c9b3c75f3cf3858ae2c9c51ab0c8 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
 
        %struct = type {  }
 
 declare void @foo(...)
 
 define void @bar() {
-       call void (...)* @foo(%struct* inreg null )
+       call void (...)* @foo(%struct* sret null )
        ret void
 }