Sirraide b502dc596b
[Clang] Fix test broken due to unsupported calling convention (#88472)
#88428 ended up breaking CI because it included a test that uses the
`regcall` calling convention, which isn’t supported on all targets; I’ve
moved it into a separate file that sets the triple.
2024-04-12 07:12:57 +02:00

12 lines
219 B
C++

// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -std=c++23 -fsyntax-only -verify %s
// expected-no-diagnostics
namespace GH84473_bug {
void f1() {
int b;
(void) [=] [[gnu::regcall]] () {
(void) b;
};
}
}