[Bug c++/64267] [DR 482] Qualified declarators in redeclarations

ivan.lazaric.gcc at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Feb 14 17:12:19 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64267

Ivan Lazaric <ivan.lazaric.gcc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ivan.lazaric.gcc at gmail dot com

--- Comment #2 from Ivan Lazaric <ivan.lazaric.gcc at gmail dot com> ---
I have run into this bug in reflection related code

```
namespace NS {
void fn();
}

void fn();

void [: ^^NS :] :: fn() {} // works

void [: ^^:: :] :: fn() {} // error
```


More information about the Gcc-bugs mailing list