Author: Benjamin Kramer
Date: 2020-02-25T16:03:06+01:00
New Revision: fc466f87804f97b322394ef3b9db43ea3febcc15

URL: 
https://github.com/llvm/llvm-project/commit/fc466f87804f97b322394ef3b9db43ea3febcc15
DIFF: 
https://github.com/llvm/llvm-project/commit/fc466f87804f97b322394ef3b9db43ea3febcc15.diff

LOG: Make test not write to the source directory

Added: 
    

Modified: 
    clang/test/CodeGen/static-init.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/static-init.cpp 
b/clang/test/CodeGen/static-init.cpp
index b9437ecdeded..e336b55a0483 100644
--- a/clang/test/CodeGen/static-init.cpp
+++ b/clang/test/CodeGen/static-init.cpp
@@ -1,8 +1,8 @@
 // RUN: not %clang_cc1 -triple powerpc-ibm-aix-xcoff -S -emit-llvm -x c++ %s \
-// RUN: 2>&1 | FileCheck %s
+// RUN: -o /dev/null 2>&1 | FileCheck %s
 
 // RUN: not %clang_cc1 -triple powerpc64-ibm-aix-xcoff -S -emit-llvm -x c++ %s 
\
-// RUN: 2>&1 | FileCheck %s
+// RUN: -o /dev/null 2>&1 | FileCheck %s
 
 struct test {
   test();


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to