Author: Dmitri Gribenko
Date: 2020-04-27T10:13:28+02:00
New Revision: 0d69e412c4f35dfa891a6b83d94f3f76192868a7

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

LOG: Explicitly tell Clang to output to stdout in a test that runs FileCheck

Added: 
    

Modified: 
    clang/test/Sema/builtin-amdgcn-fence-failure.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Sema/builtin-amdgcn-fence-failure.cpp 
b/clang/test/Sema/builtin-amdgcn-fence-failure.cpp
index c0de548cc32a..651700cbb63a 100644
--- a/clang/test/Sema/builtin-amdgcn-fence-failure.cpp
+++ b/clang/test/Sema/builtin-amdgcn-fence-failure.cpp
@@ -1,6 +1,5 @@
 // REQUIRES: amdgpu-registered-target
-// RUN: not %clang_cc1 %s -S \
-// RUN:   -triple=amdgcn-amd-amdhsa 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 %s -o - -S -triple=amdgcn-amd-amdhsa 2>&1 | FileCheck %s
 
 void test_amdgcn_fence_failure() {
 


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

Reply via email to