Mercurial > projects > dstress
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 |
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 | 3 |
4 struct MyStruct{ | |
5 override int x; | |
6 } | |
7 | |
8 int main(){ | |
9 MyStruct s; | |
10 return s.x; | |
11 } |