<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:davide@freebsd.org" title="Davide Italiano <davide@freebsd.org>"> <span class="fn">Davide Italiano</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [fuzz] Assertion `!isAnnotation() && "getIdentifierInfo() on an annotation token!"' failed."
   href="https://llvm.org/bugs/show_bug.cgi?id=21846">bug 21846</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;">CC</td>
           <td>
                
           </td>
           <td>davide@freebsd.org
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [fuzz] Assertion `!isAnnotation() && "getIdentifierInfo() on an annotation token!"' failed."
   href="https://llvm.org/bugs/show_bug.cgi?id=21846#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [fuzz] Assertion `!isAnnotation() && "getIdentifierInfo() on an annotation token!"' failed."
   href="https://llvm.org/bugs/show_bug.cgi?id=21846">bug 21846</a>
              from <span class="vcard"><a class="email" href="mailto:davide@freebsd.org" title="Davide Italiano <davide@freebsd.org>"> <span class="fn">Davide Italiano</span></a>
</span></b>
        <pre>Fixed in clang head.

% ./clang -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm lex_crash.cpp
lex_crash.cpp:2:15: error: declaration of anonymous struct must be a definition
struct A::X < struct T
              ^
lex_crash.cpp:3:1: error: expected a type
^
lex_crash.cpp:2:11: error: explicit specialization of non-template struct 'X'
struct A::X < struct T
          ^
lex_crash.cpp:2:11: error: no struct named 'X' in 'A<T>'
struct A::X < struct T
       ~~~^
lex_crash.cpp:3:1: error: expected member name or ';' after declaration
specifiers
^
lex_crash.cpp:3:1: error: expected '}'
lex_crash.cpp:1:32: note: to match this '{'
template <typename T> struct A {
                               ^
lex_crash.cpp:2:23: error: expected ';' after struct
struct A::X < struct T
                      ^
                      ;
7 errors generated.</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>