annotate nocompile/b/bug_expression_1904_A.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 2bd75a859716
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1353
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
1 // $HeadURL$
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
2 // $Date$
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
3 // $Author$
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
4
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
5 // @author@ Alexander Panek <a.panek@brainsware.org>
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
6 // @date@ 2007-01-01
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=828
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
8 // @desc@ [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
9
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
10 module dstress.nocompile.b.bug_expression_1904_A;
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
11
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
12 class A{
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
13 void func(){
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
14 Object o = cast(typeof(this.classinfo))null;
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
15 }
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
16 }
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
17
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
18 void main(){
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
19 A = new A;
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
20 A.func();
2bd75a859716 [Issue 828] expression.c:1904: virtual Expression* ThisExp::semantic(Scope*): Assertion `global.errors || var' failed.
thomask
parents:
diff changeset
21 }