[clang] f22c300 - [test] alias-unused.cpp: set triple to Linux
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 12 20:30:21 PDT 2024
Author: Fangrui Song
Date: 2024-04-12T20:30:15-07:00
New Revision: f22c30063ddcb7f8e8c4fb0496f515be7f9408b8
URL: https://github.com/llvm/llvm-project/commit/f22c30063ddcb7f8e8c4fb0496f515be7f9408b8
DIFF: https://github.com/llvm/llvm-project/commit/f22c30063ddcb7f8e8c4fb0496f515be7f9408b8.diff
LOG: [test] alias-unused.cpp: set triple to Linux
Otherwise the test would fail on Darwin and other platforms that use
Itanium ABI but do not support alias/ifunc.
Added:
Modified:
clang/test/Sema/alias-unused.cpp
Removed:
################################################################################
diff --git a/clang/test/Sema/alias-unused.cpp b/clang/test/Sema/alias-unused.cpp
index 509d3e26225d74..dc8e46f072d74d 100644
--- a/clang/test/Sema/alias-unused.cpp
+++ b/clang/test/Sema/alias-unused.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -triple %itanium_abi_triple -Wunused -x c -verify %s
-// RUN: %clang_cc1 -triple %itanium_abi_triple -Wunused -verify=expected,cxx %s
+// RUN: %clang_cc1 -triple x86_64-linux -Wunused -x c -verify %s
+// RUN: %clang_cc1 -triple x86_64-linux -Wunused -verify=expected,cxx %s
#ifdef __cplusplus
extern "C" {
More information about the cfe-commits
mailing list