<div dir="ltr">Thank you again, John!<div><br></div><div>Here is an updated patch with extra tests.  Could you (or somebody else) please commit it?<br><div class="gmail_extra"><br><div class="gmail_quote">On 21 March 2013 02:18, John McCall <span dir="ltr"><<a href="mailto:rjmccall@apple.com" target="_blank">rjmccall@apple.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Please add a test case where code tries to reinterpret-cast an incompletely-defined struct.  (We just want to ensure that we don't crash for this.)  This means putting a reinterpret_cast into a type expression in class context (not within a member function), e.g.<br>


<br>
  struct A {<br>
    decltype(reinterpret_cast<A*>((B*) 0)) x;<br>
  };<br>
<br>
With that, this patch looks fine;  feel free to commit.<br>
<span class="HOEnZb"><font color="#888888"><br>
John.<br>
</font></span></blockquote></div><br></div></div></div>