721
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @desc@ tocsym.c:142: virtual Symbol* VarDeclaration::toSymbol(): Assertion `!needThis()' failed.
|
|
6 // @author@ Tiago Gasiba <tiago.gasiba@gmail.com>
|
|
7 // @date@ 2005-10-24
|
1489
|
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5190
|
721
|
9
|
|
10 // __DSTRESS_ELINE__ 22
|
|
11
|
|
12 module dstress.nocompile.b.bug_tocsym_142_D;
|
|
13
|
|
14 struct S{
|
|
15 int i;
|
|
16 }
|
|
17
|
|
18 struct C{
|
|
19 S s;
|
|
20
|
|
21 static int bug(){
|
|
22 return s.i;
|
|
23 }
|
|
24 }
|