annotate run/init_04.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 9e0847cf535a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
433
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
1 // $HeadURL$
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
2 // $Date$
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
3 // $Author$
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
4
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
5 module dstress.run.init_04;
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
6
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
7 int main(){
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
8 int i=2;
528
9e0847cf535a pre DMD-0.123 review
thomask
parents: 433
diff changeset
9 assert(int.init!=i.init);
433
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
10 assert(i==2);
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
11 return 0;
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
12 }