annotate nocompile/invariant_17.d @ 202:4cd33115f015

1) fixed @author@ typos 2) added reporter.txt
author thomask
date Wed, 15 Dec 2004 17:37:40 +0000
parents a33ad7189d21
children f87ba6507260
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
140
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
1 // $HeadURL$
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
2 // $Date$
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
3 // $Author$
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
4
202
4cd33115f015 1) fixed @author@ typos
thomask
parents: 140
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
70
5f98d4a33d49 1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents: 66
diff changeset
6 // @date@ 2004-10-22
140
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
7 // @uri@ news:clbr09$uc6$1@digitaldaemon.com
a33ad7189d21 1) news:// -> news:
thomask
parents: 70
diff changeset
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2140
70
5f98d4a33d49 1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents: 66
diff changeset
9
66
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
10 // invariant may not call non-static public class member functions (stack overflow)
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
11
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
12 module dstress.nocompile.invariant_17;
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
13
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
14 class MyClass{
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
15 this(){
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
16 }
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
17
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
18 int test(){
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
19 return 0;
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
20 }
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
21
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
22 invariant{
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
23 assert(test()!=0);
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
24 }
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
25 }
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
26
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
27 int main(){
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
28 MyClass c = new MyClass();
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
29 return 0;
33346dff2640 extended invariant tests
thomask
parents:
diff changeset
30 }