<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><br></div><div>> const APInt two(1, 2);</div><div><br></div><div>If I'm not mistaken, that's one bit representing the unsigned value '2'. So, effectively, that APInt is a '0'. Unless this was done deliberately (which is why I'm asking), I believe the unit tests following this definition are not doing what they are supposed to do.</div>
</blockquote><div><br></div><div>Whoops... TEST(APIntTest, i1) => int*1. Nevermind, I just got it. It's the first time I'm looking at the unit tests. </div></div>