annotate nocompile/override_05.d @ 70:5f98d4a33d49

1) review of all test cases with unexpected results (except encoding and html/xml) 2) updated todo
author thomask
date Sat, 23 Oct 2004 22:47:47 +0000
parents 3414705c41ac
children f87ba6507260
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
5f98d4a33d49 1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents: 1
diff changeset
1 // override can only be applied to class functions
5f98d4a33d49 1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents: 1
diff changeset
2 module dstress.nocompile.override_05;
0
3269e4627918 init dstress
svnowner
parents:
diff changeset
3
3269e4627918 init dstress
svnowner
parents:
diff changeset
4 struct MyStruct{
3269e4627918 init dstress
svnowner
parents:
diff changeset
5 override int x;
3269e4627918 init dstress
svnowner
parents:
diff changeset
6 }
3269e4627918 init dstress
svnowner
parents:
diff changeset
7
3269e4627918 init dstress
svnowner
parents:
diff changeset
8 int main(){
3269e4627918 init dstress
svnowner
parents:
diff changeset
9 MyStruct s;
3269e4627918 init dstress
svnowner
parents:
diff changeset
10 return s.x;
3269e4627918 init dstress
svnowner
parents:
diff changeset
11 }