https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84796
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Test from bug 96676. template < typename T, typename... TYPES > struct A { template < TYPES... types > void Get() { } }; void f() {} int main() { A<int, decltype(&f)> a; a.Get<&f>(); } But even r150013 ICEs, so perhaps they're not dups as I thought.