<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed."
   href="https://bugs.llvm.org/show_bug.cgi?id=48324">48324</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>11.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++17
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>c.j.havlicek@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>blitzrakete@gmail.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24217" name="attach_24217" title=".ii, .cpp, .sh and backtrace associated files.">attachment 24217</a> <a href="attachment.cgi?id=24217&action=edit" title=".ii, .cpp, .sh and backtrace associated files.">[details]</a></span>
.ii, .cpp, .sh and backtrace associated files.

Front-end assertion while compiling
[dry-comparison](<a href="https://github.com/rollbear/dry-comparisons/tree/drier">https://github.com/rollbear/dry-comparisons/tree/drier</a>)
library code.

Briefly tested code compilation godbolt.org. Clang-6 compiles. Clang versions
subsequent to 6 fail with the noted assertion.

See attached files for details.

Thanks,</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>