[clang] 73e5a70 - [clang] Run test for concrete target

Serge Pavlov via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 20 23:24:21 PDT 2023


Author: Serge Pavlov
Date: 2023-08-21T13:23:06+07:00
New Revision: 73e5a70e676850b79f196e01e2194a2485041584

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

LOG: [clang] Run test for concrete target

The test clang/test/SemaCXX/template-64605.cpp uses pragma FENV_ACCESS,
which is not supported on all targets. Restrict it to x86_64 only.

Added: 
    

Modified: 
    clang/test/SemaCXX/template-64605.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/SemaCXX/template-64605.cpp b/clang/test/SemaCXX/template-64605.cpp
index b13acbf2ae566b..99ccbfdc27f1c8 100644
--- a/clang/test/SemaCXX/template-64605.cpp
+++ b/clang/test/SemaCXX/template-64605.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -ast-dump -ast-dump-filter=b_64605 %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-linux-gnu -ast-dump -ast-dump-filter=b_64605 %s | FileCheck %s
 
 // https://github.com/llvm/llvm-project/issues/64605
 


        


More information about the cfe-commits mailing list