Mercurial > projects > dstress
annotate nocompile/invariant_26.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 | ec5e144583ea |
children |
rev | line source |
---|---|
384 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
739 | 5 // __DSTRESS_TORTURE_BLOCK__ -release |
6 // __DSTRESS_ELINE__ 19 | |
384 | 7 |
8 module dstress.nocompile.invariant_26; | |
9 | |
10 class MyClass{ | |
11 public void bug(){ | |
12 } | |
13 | |
14 private void middle(){ | |
15 bug(); | |
16 } | |
17 | |
1559 | 18 invariant(){ |
384 | 19 middle(); |
20 } | |
21 } |