[clang] [clang] fix #161765 test triple dependency (PR #161769)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 2 20:29:42 PDT 2025
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 <mizvekov at gmail.com>
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 {
More information about the cfe-commits
mailing list