Mercurial > projects > dstress
annotate run/bug_tocsym_217_01.d @ 1616:7b7967dd4203
More auto -> scope changes.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 12 Jul 2009 17:14:44 +0200 |
parents | b8c0195059d9 |
children |
rev | line source |
---|---|
411
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
2 // $Date$ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
3 // $Author$ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
4 |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
5 // @author@ Nick <Nick_member@pathlink.com> |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
6 // @date@ 2005-04-08 |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3567 |
411
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
8 |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
9 module dstress.run.bug_tocsym_217_01; |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
10 |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
11 class A{ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
12 ~this(){ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
13 } |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
14 } |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
15 |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
16 int main(){ |
1616
7b7967dd4203
More auto -> scope changes.
Christian Kamm <kamm incasoftware de>
parents:
1489
diff
changeset
|
17 scope A a = new A(); |
411
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
18 |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
19 try{ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
20 }catch(Exception e){ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
21 try{ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
22 assert(e); |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
23 }catch{ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
24 } |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
25 } |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
26 |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
27 return 0; |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
28 } |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
29 |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
30 |