view run/opPostInc_01.d @ 451:b35781291678

x++ / ++x / --x / x-- Stewart Gordon <smjg_1998@yahoo.com> 2005-04-18 news:d402bj$nc0$6@digitaldaemon.com
author thomask
date Tue, 19 Apr 2005 04:05:27 +0000
parents
children 8c1ae5dd51b0
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	Stewart Gordon <smjg_1998@yahoo.com>
// @date@	2005-04-18
// @uri@	news:d402bj$nc0$6@digitaldaemon.com

// @WARNING@ direct use of Phobos

module dstress.run.opPostInc_01;

import std.stdio;

int main() {
	byte x = 9;
	writefln(x);
	writefln(x++);
	assert(x==10);
	return 0;
}