Mercurial > projects > dstress
view nocompile/cast_23.d @ 1519:f71bd33bb278
updated to DMD-1.013
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:22:49 +0000 |
parents | b8c0195059d9 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ h3r3tic // @date@ 2005-03-18 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3234 // __DSTRESS_ELINE__ 16 module dstress.nocompile.cast_23; int main(){ int[10] arr; int *p = &arr[5]; cast(uint)(p - arr); return 0; }