Mercurial > projects > dstress
changeset 100:b466817daa05
ndove (http://www.dsource.org/forums/profile.php?mode=viewprofile&u=142) http://www.dsource.org/forums/viewtopic.php?t=402
author | thomask |
---|---|
date | Wed, 03 Nov 2004 09:39:38 +0000 |
parents | c8e5c21a1e64 |
children | d0492a3bb82b |
files | compile/forward_reference_01.d compile/forward_reference_02.d |
diffstat | 2 files changed, 46 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/forward_reference_01.d Wed Nov 03 09:39:38 2004 +0000 @@ -0,0 +1,23 @@ +// @author@ ndove (http://www.dsource.org/forums/profile.php?mode=viewprofile&u=142) +// @date@ 2004-10-12 +// @url@ http://www.dsource.org/forums/viewtopic.php?t=402 + +module dstress.compile.forward_reference_01; + +class Something{ + Bounds bounds; + Position position; +} + +struct Bounds{ + int Bottom = 0; + int Left = 0; + int Right = 0; + int Top = 0; +} + +struct Position{ + int X = 0; + int Y = 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/forward_reference_02.d Wed Nov 03 09:39:38 2004 +0000 @@ -0,0 +1,23 @@ +// @author@ ndove (http://www.dsource.org/forums/profile.php?mode=viewprofile&u=142) +// @date@ 2004-10-12 +// @url@ http://www.dsource.org/forums/viewtopic.php?t=402 + +module dstress.compile.forward_reference_02; + +struct Bounds{ + int Bottom = 0; + int Left = 0; + int Right = 0; + int Top = 0; +} + +struct Position{ + int X = 0; + int Y = 0; +} + +class Something{ + Bounds bounds; + Position position; +} +