https://github.com/mizvekov created 
https://github.com/llvm/llvm-project/pull/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.

>From cb1d4ee9cb1466d2cc39c13880d9fb0e40508bc6 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov <[email protected]>
Date: Fri, 3 Oct 2025 00:27:14 -0300
Subject: [PATCH] [clang] fix #161765 test triple dependency

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.
---
 clang/test/SemaTemplate/GH161657.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 {

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to