Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add tests for GH105885
  • Loading branch information
zyn0217 committed Aug 26, 2024
commit 4462adbc6a641f781c27d50acae1230b0088f96a
12 changes: 11 additions & 1 deletion clang/test/SemaTemplate/alias-template-with-lambdas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,16 @@ using broken4 = decltype(Pred.template operator()<42>(Pred));

broken4<non_default>* boom4;

}
} // namespace GH89853

namespace GH105885 {

template<int>
using test = decltype([](auto...) {
}());

static_assert(__is_same(test<0>, void));

} // namespace GH105885

} // namespace lambda_calls