view test/bug80.d @ 134:0dec7b3727ea trunk

[svn r138] forgot the latest tests
author lindquist
date Mon, 14 Jan 2008 05:32:24 +0100
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);
}