Skip to content

Commit f22c300

Browse files
committed
[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.
1 parent f172bfc commit f22c300

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Sema/alias-unused.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 -triple %itanium_abi_triple -Wunused -x c -verify %s
2-
// RUN: %clang_cc1 -triple %itanium_abi_triple -Wunused -verify=expected,cxx %s
1+
// RUN: %clang_cc1 -triple x86_64-linux -Wunused -x c -verify %s
2+
// RUN: %clang_cc1 -triple x86_64-linux -Wunused -verify=expected,cxx %s
33

44
#ifdef __cplusplus
55
extern "C" {

0 commit comments

Comments
 (0)