Mercurial > projects > dstress
changeset 169:d7e8a8ec71d4
extended ptr tests
author | thomask |
---|---|
date | Wed, 01 Dec 2004 12:36:20 +0000 |
parents | a9d16ec2b848 |
children | 7f00d03c4016 |
files | nocompile/ptr_05.d nocompile/ptr_06.d nocompile/ptr_07.d nocompile/ptr_08.d nocompile/ptr_09.d |
diffstat | 5 files changed, 65 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/ptr_05.d Wed Dec 01 12:36:20 2004 +0000 @@ -0,0 +1,13 @@ +// $HeadURL$ +// $Date$ +// Author$ + +module dstress.nocompile.ptr_05; + +int main(){ + Object[char[]] array; + + assert(array.ptr === null); + + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/ptr_06.d Wed Dec 01 12:36:20 2004 +0000 @@ -0,0 +1,13 @@ +// $HeadURL$ +// $Date$ +// Author$ + +module dstress.nocompile.ptr_06; + +int main(){ + Object* pointer; + + assert(pointer.ptr === null); + + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/ptr_07.d Wed Dec 01 12:36:20 2004 +0000 @@ -0,0 +1,13 @@ +// $HeadURL$ +// $Date$ +// Author$ + +module dstress.nocompile.ptr_07; + +int main(){ + Object** pointer; + + assert(pointer.ptr === null); + + return 0; +}