https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493
--- Comment #1 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> --- Slightly simplified: https://godbolt.org/z/rv97Gh. ```C++ struct A{}; template<A a>constexpr const A*tpo{&a}; template<const A*>struct B{}; B<tpo<A{}>>b; ``` ``` <source>:4:10: error: the address of 'A{}' is not a valid template argument 4 | B<tpo<A{}>>b; | ^~ Compiler returned: 1 ```