[clang] b9b627f - [clang] Fix a new test to not write temp files to the git repository

Dmitri Gribenko via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 27 09:05:00 PST 2023


Author: Dmitri Gribenko
Date: 2023-11-27T18:04:49+01:00
New Revision: b9b627fbc3bc64cd3e7e009917df35d2971827d9

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

LOG: [clang] Fix a new test to not write temp files to the git repository

Added: 
    

Modified: 
    clang/test/OpenMP/dispatch_unsupported.c

Removed: 
    


################################################################################
diff  --git a/clang/test/OpenMP/dispatch_unsupported.c b/clang/test/OpenMP/dispatch_unsupported.c
index 92f555e4b414f4e..fe7ccfa90a5831a 100644
--- a/clang/test/OpenMP/dispatch_unsupported.c
+++ b/clang/test/OpenMP/dispatch_unsupported.c
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -emit-llvm -fopenmp -disable-llvm-passes %s -verify=expected
+// RUN: %clang_cc1 -emit-llvm -fopenmp -disable-llvm-passes %s -o /dev/null -verify=expected
 
-// expected-error at +2 {{cannot compile this OpenMP dispatch directive yet}} 
+// expected-error at +2 {{cannot compile this OpenMP dispatch directive yet}}
 void a(){
     #pragma omp dispatch
     a();


        


More information about the cfe-commits mailing list