[RISCV] Simplify usage of SplatPat_simm5_plus1. NFC (#125340)
[llvm-project.git] / clang / test / SemaCXX / gh84473.cpp
blob72f5e9c45b0c48bb489e00a73f898fa5203a7fae
1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -std=c++23 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 namespace GH84473_bug {
5 void f1() {
6 int b;
7 (void) [=] [[gnu::regcall]] () {
8 (void) b;
9 };