<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:anders.granlund.0@gmail.com" title="Anders Granlund &lt;anders.granlund.0&#64;gmail.com&gt;"> <span class="fn">Anders Granlund</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED INVALID - I'll formed program with anonymous enum inside declaration compiles without diagnostic message" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24206&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=f8UZpC8C9Q-YFa4a-RP_IS9OqOr9rBNonej9h8UwUG4&s=v3w8s6UOs-Dm7sPrn1ZZVBCOHaJYKuITCDIFgELil3Y&e=">bug 24206</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED INVALID - I'll formed program with anonymous enum inside declaration compiles without diagnostic message" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24206-23c1&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=f8UZpC8C9Q-YFa4a-RP_IS9OqOr9rBNonej9h8UwUG4&s=AHLDXAy3iBHZu4Y1m1X73kk8I87UY5DeOBVUckEzJEs&e=">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED INVALID - I'll formed program with anonymous enum inside declaration compiles without diagnostic message" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24206&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=f8UZpC8C9Q-YFa4a-RP_IS9OqOr9rBNonej9h8UwUG4&s=v3w8s6UOs-Dm7sPrn1ZZVBCOHaJYKuITCDIFgELil3Y&e=">bug 24206</a>
              from <span class="vcard"><a class="email" href="mailto:anders.granlund.0@gmail.com" title="Anders Granlund &lt;anders.granlund.0&#64;gmail.com&gt;"> <span class="fn">Anders Granlund</span></a>
</span></b>
        <pre>I just realised that this is not a bug, since the name x is introduced by the
decl-specifier-seq. Since the enum is not scoped we cannot disregard the
declaration of x on the basis of [dcl.dcl]/4 ( <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__eel.is_c-2B-2Bdraft_dcl.dcl-234&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=f8UZpC8C9Q-YFa4a-RP_IS9OqOr9rBNonej9h8UwUG4&s=D3_4pcFDBsa5eeVinvYYOdNdEJH2JCV5ZdTWxW1txjo&e=">http://eel.is/c++draft/dcl.dcl#4</a>
).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>