Mercurial > projects > dstress
annotate run/bug_tocsym_217_02.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
parents | 7b7967dd4203 |
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_02; |
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 } |
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 int main(){ |
1616
7b7967dd4203
More auto -> scope changes.
Christian Kamm <kamm incasoftware de>
parents:
1489
diff
changeset
|
15 scope A a = new A(); |
411
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
16 |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
17 try{ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
18 }catch(Exception e){ |
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 assert(e); |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
21 }catch{ |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
22 } |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
23 } |
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 return 0; |
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 |
9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
thomask
parents:
diff
changeset
|
28 |