Mercurial > projects > dstress
view run/opMulAssign_01.d @ 1566:b50583aebed4
r8719@birke: tk | 2007-09-30 11:08:05 +0200
[Issue 1518] Crash using 'scope', 'with' and undefined 'RegExp'
<regan@netmail.co.nz>
2007-09-19
http://d.puremagic.com/issues/show_bug.cgi?id=1518
author | thomask |
---|---|
date | Sun, 30 Sep 2007 09:47:53 +0000 |
parents | b8c0195059d9 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Stewart Gordon <smjg_1998@yahoo.com> // @date@ 2005-04-18 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3713 module dstress.run.opMulAssign_01; void dummy(...){ } int main() { byte x = 3; dummy(x); int y=2; y*=x; assert(y==6); assert(x==3); return 0; }