Mercurial > projects > dstress
view run/t/typeid_90_H.d @ 1099:913919d47a5e
[Issue 271] Incorrect constant evaluation of TypeInfo equality comparisons
Bruno Medeiros <daiphoenix@lycos.com>
2006-07-29
news:bug-271-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Mon, 14 Aug 2006 11:37:56 +0000 |
parents | |
children | daef239f37cf |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Bruno Medeiros <daiphoenix@lycos.com> // @date@ 2006-07-29 // @uri@ news:bug-271-3@http.d.puremagic.com/issues/ // @desc@ [Issue 271] Incorrect constant evaluation of TypeInfo equality comparisons module dstress.run.t.typeid_90_H; int main(){ auto ti = typeid(int); if(ti == typeid(short)){ assert(0); } return 0; }