Mercurial > projects > dstress
annotate nocompile/override_06.d @ 1576:b3e16c86558e
[Issue 1398] New: GDC doesn't generate correct code
<mariusmuja@gmail.com>
2007-08-04
http://d.puremagic.com/issues/show_bug.cgi?id=1398
author | thomask |
---|---|
date | Thu, 21 Feb 2008 15:20:08 +0000 |
parents | f87ba6507260 |
children |
rev | line source |
---|---|
374 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // __DSTRESS_ELINE__ 10 | |
6 | |
70
5f98d4a33d49
1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents:
1
diff
changeset
|
7 module dstress.nocompile.override_06; |
0 | 8 |
9 struct MyStruct{ | |
10 override int x(){ | |
11 return 0; | |
12 } | |
13 } | |
14 | |
15 int main(){ | |
16 MyStruct s; | |
17 return s.x(); | |
18 } |