Mercurial > projects > dstress
annotate nocompile/InExpression_15.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 | f87ba6507260 |
children |
rev | line source |
---|---|
180 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // only associative arrays support the InExpression | |
6 | |
374 | 7 // __DSTRESS_ELINE__ 18 |
8 | |
180 | 9 module dstress.nocompile.InExpression_15; |
10 | |
11 class MyClass{ | |
12 char c = 'c'; | |
13 } | |
14 | |
15 int main(){ | |
16 MyClass object = new MyClass(); | |
17 | |
18 void* ptr = 'c' in object; | |
19 | |
20 return 0; | |
21 } |