view run/typedef_03.d @ 1330:f3f715978184

Georg Wrede <georg@iki.fi> 2007-01-07 mail:45A120F5.1050108@iki.fi
author thomask
date Sat, 13 Jan 2007 10:33:49 +0000
parents a33ad7189d21
children 52c9e86b6486
line wrap: on
line source

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

// @author@	Sam McCall <tunah@tunah.net>
// @date@	2004-07-27
// @uri@	news:ce586c$212e$1@digitaldaemon.com
// @url@	nntp://digitalmars.com/digitalmars.D.bugs/1148

module dstress.run.typedef_03;

public static final uint U = (cast(uint)(-1)) >>> 2;

typedef uint myType;
public static final myType T = (cast(myType)(-1)) >>> 2;

int main(){
	assert(U == 0x3FFFFFFF);
	assert(T == 0x3FFFFFFF);

	return 0;
}