Mercurial > projects > dstress
view nocompile/c/case_01.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 | d37b19f7e8bb |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Paul Guerra <Paul_member@pathlink.com> // @date@ 2005-07-29 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4634 // this clearly seems illegal even though the specification does not // seem to explicitly forbid it module dstress.run.c.case_01; int main(){ int u=2; switch(u){ case 1: void j(){ case 2: u++; } break; } return 0; }