Fix some tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52245 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/FrontendC/2004-02-13-IllegalVararg.c b/test/FrontendC/2004-02-13-IllegalVararg.c
index 1f3eded..b6e5f2c 100644
--- a/test/FrontendC/2004-02-13-IllegalVararg.c
+++ b/test/FrontendC/2004-02-13-IllegalVararg.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -xc %s -c -o - | llc
+// RUN: %llvmgcc -xc %s -w -c -o - | llc
 
 #include <stdarg.h>
 
diff --git a/test/FrontendC/2006-09-18-fwrite-cast-crash.c b/test/FrontendC/2006-09-18-fwrite-cast-crash.c
index 8ba2052..0e02907 100644
--- a/test/FrontendC/2006-09-18-fwrite-cast-crash.c
+++ b/test/FrontendC/2006-09-18-fwrite-cast-crash.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -S -o -
+// RUN: %llvmgcc %s -S -o /dev/null
 // PR910
 
 struct l_struct_2E_FILE { char x; };