Skip to content

Commit

Permalink
[test] alias-unused.cpp: set triple to Linux
Browse files Browse the repository at this point in the history
Otherwise the test would fail on Darwin and other platforms that use
Itanium ABI but do not support alias/ifunc.
  • Loading branch information
MaskRay committed Apr 13, 2024
1 parent f172bfc commit f22c300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/test/Sema/alias-unused.cpp
Original file line number Diff line number Diff line change
@@ -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" {
Expand Down

0 comments on commit f22c300

Please sign in to comment.