Skip to content

Commit 910b73c

Browse files
committed
Test
1 parent b6877bc commit 910b73c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

clang/test/SemaTemplate/concepts-lambda.cpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,3 +325,18 @@ template <class> void f() {
325325
template void f<int>();
326326

327327
}
328+
329+
namespace GH133719 {
330+
331+
template <class T>
332+
constexpr auto f{[] (auto arg) {
333+
return [a{arg}] {
334+
[] () requires true {}();
335+
};
336+
}};
337+
338+
void foo() {
339+
f<int>(0);
340+
}
341+
342+
}

0 commit comments

Comments
 (0)