https://bugs.llvm.org/show_bug.cgi?id=49755
Bug ID: 49755
Summary: Clang accepts constraints not satisfied function
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++2a
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
https://godbolt.org/z/1eb7axon5
#include <concepts>
template <typename... Ts>
auto f(Ts...) {
return [](std::same_as<Ts> auto...) {};
}
int main() {
f(0)(0u);
}
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs