<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55923>55923</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
error: non-friend class member cannot have a qualified name
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
s2s-k
</td>
</tr>
</table>
<pre>
MSVC: https://godbolt.org/z/h6xKEjsPY
GCC: https://godbolt.org/z/b5feojr7j
Clang: https://godbolt.org/z/4nKPx9TnM
`error: non-friend class member 'C' cannot have a qualified name`
The error only appears in the Clang compiler. And the text of the error itself is very weird. It's not very clear what it says. "non-friend class member"?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNUtuK2zAQ_Rr7ZYhR5NiJH_SQZptSloWFLoU-ytbYVipLriTn0q_v2OnSUmi7oMtohnPmnEG1Uzfx9OnzIcn30Mc4BgoSfqTVOVU7EzPnO3p9p92X18f3p_D8JWEPCdt_OLwJVRctupPfnu6og5G2ewtuYx-fr9WLfbrjfp4lQ--dnwmss6vWa7QKGiNDgAGHGj0kfHugDY201kXo5RlBwrdJGt1qVGDlgMTzO-1Lj7DwgrPmBnIcUfoA2kKkyiIZGjeM2qDPYE8d53zEawTXLvEdrWNA04IOcEZ_gwtqrzL4GElOgFnMkm4MscOll5EAEOQtZCSa_8UPVZL8mCqRqyqvZBp1NCj-O4V_uU8nb8Qf89exn-qMTNLDmPPrtRq9O2FDDo46hAkDBUVR8TzthWyqUtW4q9V606xlIbeSs5bxosrVbl3K1MgaTRBJ8W62hxdYKGZDxUOqBWecs5JtOWMEytqyVDmrcuSNWrc7lmwYDlKbbNYxf4zUi0VSPXWBikaHGH4VybvuLOLSjvjlFHvnReBh9TVdGotF-A_-cfOF">