Mercurial > projects > dstress
annotate run/static_28.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 | 6e4063f99377 |
children |
rev | line source |
---|---|
214 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ h3r3tic <foo@bar.baz> | |
6 // @date@ 2004-12-26 | |
7 // @uri@ news:cqmmre$1vvo$1@digitaldaemon.com | |
1487 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2605 |
214 | 9 |
10 module dstress.run.static_28; | |
11 | |
12 union MyUnion{ | |
13 static int x; | |
14 } | |
15 | |
16 void foo(int i){ | |
17 union MyUnione{ | |
18 static int x; | |
19 } | |
20 } | |
21 | |
22 int main(){ | |
23 return 0; | |
24 } |