comparison run/i/inout_02_A.d @ 1535:20d8ee6523e1

updated to DMD-1.013
author thomask
date Mon, 07 May 2007 05:19:57 +0000
parents 81222734adf3
children
comparison
equal deleted inserted replaced
1534:345207906be7 1535:20d8ee6523e1
11 version(D_InlineASM_X86){ 11 version(D_InlineASM_X86){
12 version = runTest; 12 version = runTest;
13 } 13 }
14 14
15 version(runTest){ 15 version(runTest){
16 void fn(inout byte val){ 16 void fn(ref byte val){
17 asm{ 17 asm{
18 mov EAX, val; 18 mov EAX, val;
19 inc [EAX]; 19 inc [EAX];
20 } 20 }
21 } 21 }