Mercurial > projects > dstress
changeset 162:df550d679fcc
updated anonymous struct/union to dmd-0.108
author | thomask |
---|---|
date | Wed, 01 Dec 2004 07:35:54 +0000 |
parents | 5df094931c80 |
children | 23c3da8970e3 |
files | nocompile/struct_17.d nocompile/union_11.d run/struct_17.d run/union_11.d |
diffstat | 4 files changed, 39 insertions(+), 39 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/struct_17.d Wed Dec 01 07:35:54 2004 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Stewart Gordon <smjg_1998@yahoo.com> +// @date@ 2004-11-15 +// @uri@ news:cn9vah$1shn$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2270 + +module dstress.nocompile.struct_17; + +struct { + int dummy; +} + +int main(){ + assert(dummy==0); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/union_11.d Wed Dec 01 07:35:54 2004 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Stewart Gordon <smjg_1998@yahoo.com> +// @date@ 2004-11-15 +// @uri@ news:cn9vah$1shn$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2270 + +module dstress.nocompile.union_11; + +union { + short s=1234; + byte b; +} + +int main(){ + assert(s==1234); + return 0; +}
--- a/run/struct_17.d Wed Dec 01 07:34:52 2004 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ Stewart Gordon <smjg_1998@yahoo.com> -// @date@ 2004-11-15 -// @uri@ news:cn9vah$1shn$1@digitaldaemon.com -// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2270 - -module dstress.run.struct_17; - -struct { - int dummy; -} - -int main(){ - assert(dummy==0); - return 0; -}
--- a/run/union_11.d Wed Dec 01 07:34:52 2004 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ Stewart Gordon <smjg_1998@yahoo.com> -// @date@ 2004-11-15 -// @uri@ news:cn9vah$1shn$1@digitaldaemon.com -// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2270 - -module dstress.run.union_11; - -union { - short s=1234; - byte b; -} - -int main(){ - assert(s==1234); - return 0; -}