[clang] 065699b - [clang] fix #161765 test triple dependency (#161769)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 2 21:36:46 PDT 2025


Author: Matheus Izvekov
Date: 2025-10-03T01:36:42-03:00
New Revision: 065699b34316f5dca74ed7e88c3958d488869bec

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

LOG: [clang] fix #161765 test triple dependency (#161769)

Fixes the new test introduced in #161765, so that it always uses a
triple which supports floating point exceptions.

Otherwise, some post-commit bots fail.

Added: 
    

Modified: 
    clang/test/SemaTemplate/GH161657.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/SemaTemplate/GH161657.cpp b/clang/test/SemaTemplate/GH161657.cpp
index 6ec793115db12..5ad4dde855898 100644
--- a/clang/test/SemaTemplate/GH161657.cpp
+++ b/clang/test/SemaTemplate/GH161657.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++20 -ffp-exception-behavior=strict -verify %s
+// RUN: %clang_cc1 -triple=x86_64 -fsyntax-only -std=c++20 -ffp-exception-behavior=strict -verify %s
 // expected-no-diagnostics
 
 template <class T> struct S {


        


More information about the cfe-commits mailing list