Author: David Spickett Date: 2026-10-08T11:05:37Z New Revision: c5e75158e3dcd45904826ce3c9393fcfc267e03d
URL: https://github.com/llvm/llvm-project/commit/c5e75158e3dcd45904826ce3c9393fcfc267e03d DIFF: https://github.com/llvm/llvm-project/commit/c5e75158e3dcd45904826ce3c9393fcfc267e03d.diff LOG: [clang][Sema] Use 64-bit triple in throw-address-space.cpp (#230051) __ptr32 has no effect on a 32-bit system where addresses are already 32-bit. This means no error and no error means the test fails. Fixes #224680. Added: Modified: clang/test/Sema/throw-address-space.cpp Removed: ################################################################################ diff --git a/clang/test/Sema/throw-address-space.cpp b/clang/test/Sema/throw-address-space.cpp index 0f085d13ae0cb..2a18a1f97a917 100644 --- a/clang/test/Sema/throw-address-space.cpp +++ b/clang/test/Sema/throw-address-space.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -fexceptions -fms-extensions -verify %s +// RUN: %clang_cc1 -triple x86_64-linux-gnu -fsyntax-only -fcxx-exceptions -fexceptions -fms-extensions -verify %s // Test for issue (https://github.com/llvm/llvm-project/issues/222931). // Reject throwing/catching pointers and references whose pointee/referred type _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
