Mercurial > projects > dstress
view run/o/opXorAssign_01_C.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 9314ad174861 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Derek Parnell <derek@psych.ward> // @date@ 2005-06-20 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4363 // @desc@ Internal error: ../ztc/cgcs.c 213 module dstress.run.o.opXorAssign_01_C; int main(){ ubyte[1] arr=8; assert(arr[0]==8); arr[0] ^= 1; assert(arr[0]==9); arr[0] ^= 1; assert(arr[0]==8); return 0; }