[llvm-bugs] [Bug 47964] Struct declared in a field declaration in another struct.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 28 12:00:55 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47964

Anders Granlund <anders.granlund.0 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #3 from Anders Granlund <anders.granlund.0 at gmail.com> ---
(In reply to Richard Smith from comment #1)
> (In reply to Anders Granlund from comment #0)
> > Doesn't  B  belong to the class scope of  A ?
> 
> No.
> 
> > If not, to what other scope does it belong?
> 
> The block scope of the body of 'main'.
> 
> See http://eel.is/c++draft/basic.scope.pdecl#7.2

Ok. I'm resoliving this as invalid and I have reported the bug mentioned in
comment #2 in a separate bug report instead:

  https://bugs.llvm.org/show_bug.cgi?id=48002

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201028/21d4ef75/attachment.html>


More information about the llvm-bugs mailing list