Mercurial > projects > dstress
view run/s/super_15_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 | 5530980c0d49 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Frank Benoit <benoit@tionex.de> // @date@ 2007-04-30 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1203 // @desc@ [Issue 1203] Cannot create Anonclass in loop module dstress.run.s.super_15_A; class C { } int main(char[][] args){ foreach(char[] arg; args){ auto c = new class(arg) C { this(char[] arg){ } }; assert(c); } return 0; }