
#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.
12 lines
219 B
C++
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;
|
|
};
|
|
}
|
|
}
|