annotate run/ptr_03.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents 32f7f8ce5e51
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
168
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
1 // $HeadURL$
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
2 // $Date$
199
1a77f6d93b45 1) added websvn links
thomask
parents: 168
diff changeset
3 // $Author$
168
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
4
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
5 module dstress.run.ptr_03;
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
6
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
7 int main(){
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
8 Object[] array;
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
9 array.length=0;
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
10
570
32f7f8ce5e51 updated "===" -> "is" and "!==" to "!(...===...)"
thomask
parents: 199
diff changeset
11 assert(array.ptr is null);
168
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
12
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
13 return 0;
a9d16ec2b848 added basic ptr tests
thomask
parents:
diff changeset
14 }