[Bug c++/97922] inline namespace caused confusing error message

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97922 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/97922] inline namespace caused confusing error message

2020-11-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97922 --- Comment #1 from Jonathan Wakely --- Reduced: namespace test { inline namespace internal { struct Type1 { }; } } namespace test { struct Type1; //Type1 is actually in an inline namespace } template struct P { }; using Type = P;

[Bug c++/97922] inline namespace caused confusing error message

2020-11-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97922 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-11-20 Ever confirmed|0