view test/bug80.d @ 230:79d8f6b3fbaf trunk

[svn r246] fixed asm4 test
author lindquist
date Sat, 07 Jun 2008 21:38:14 +0200
parents 5825d48b27d1
children d9d5d59873d8
line wrap: on
line source

module bug80;

void main()
{
    byte b = 10;
    int i = b += 2;
    printf("byte=%d int=%d\n", b, i);
    assert(b == 12);
    assert(i == 12);
}