https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99911
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot
gnu.org
CC| |ppalka at gcc dot gnu.org
Ever confirmed|0 |1
Last reconfirmed| |2021-11-10
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=102760
Status|UNCONFIRMED |ASSIGNED
--- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Reduced rejects-valid testcase:
namespace N {
struct A { };
template<class T> void get(A);
};
template<class T>
auto tuple_flatten() {
return [] <class U> (U) { get<U>(T{}); };
}
int main() {
tuple_flatten<N::A>()(0);
}