Mercurial > projects > dstress
view run/typedef_03.d @ 1:3414705c41ac
removed CVS header
author | thomask |
---|---|
date | Sun, 26 Sep 2004 12:06:09 +0000 |
parents | 3269e4627918 |
children | 5f98d4a33d49 |
line wrap: on
line source
// @author@ Sam McCall <tunah@tunah.net> // @date@ 2004-07-27 // @uri@ news://ce586c$212e$1@digitaldaemon.com 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; }