Skip to content

Commit

Permalink
version out X86 inline asm
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jan 25, 2011
1 parent e1324fc commit f2365f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/runnable/s2ir.d
Expand Up @@ -7,12 +7,15 @@ void test1()
{ int i;
static int j;

version (D_InlineAsm_X86)
{
asm
{
naked ;
mov EAX, i ;
mov EAX, j ;
}
}
}

/***********************************/
Expand Down

0 comments on commit f2365f6

Please sign in to comment.