<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:sepavloff@gmail.com" title="Serge Pavlov <sepavloff@gmail.com>"> <span class="fn">Serge Pavlov</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - ICE on invalid 'class { template { typename {'"
   href="http://llvm.org/bugs/show_bug.cgi?id=15741">bug 15741</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>sepavloff@gmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WORKSFORME
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - ICE on invalid 'class { template { typename {'"
   href="http://llvm.org/bugs/show_bug.cgi?id=15741#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - ICE on invalid 'class { template { typename {'"
   href="http://llvm.org/bugs/show_bug.cgi?id=15741">bug 15741</a>
              from <span class="vcard"><a class="email" href="mailto:sepavloff@gmail.com" title="Serge Pavlov <sepavloff@gmail.com>"> <span class="fn">Serge Pavlov</span></a>
</span></b>
        <pre>It looks like ToT (r223913) does not have such problem:

x.ii:1:73: error: expected a qualified name after 'typename'
              class    {                     template<typename          {
                                                                        ^
x.ii:1:73: error: expected ',' or '>' in template-parameter-list
x.ii:1:77: error: expected member name or ';' after declaration specifiers
              class    {                     template<typename          {
                                                                            ^
x.ii:1:77: error: expected '}'
x.ii:1:24: note: to match this '{'
              class    {                     template<typename          {
                       ^
x.ii:1:74: error: expected ';' after class
              class    {                     template<typename          {
                                                                         ^
                                                                         ;
x.ii:1:15: error: anonymous structs and classes must be class members
              class    {                     template<typename          {
              ^
6 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>