Skip to content

Commit 8c33419

Browse files
Use a different calling convention attribute
1 parent 47a1704 commit 8c33419

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/SemaCXX/template-instantiation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// RUN: %clang_cc1 -verify -fsyntax-only -Wno-ignored-attributes %s
1+
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -verify -fsyntax-only %s
22
// expected-no-diagnostics
33

44
namespace GH76521 {
55

66
template <typename T>
77
void foo() {
8-
auto l = []() __attribute__((pcs("aapcs-vfp"))) {};
8+
auto l = []() __attribute__((preserve_most)) {};
99
}
1010

1111
void bar() {

0 commit comments

Comments
 (0)