comparison compile/i/inerpret_05_B.d @ 1535:20d8ee6523e1

updated to DMD-1.013
author thomask
date Mon, 07 May 2007 05:19:57 +0000
parents 8200aeafb504
children
comparison
equal deleted inserted replaced
1534:345207906be7 1535:20d8ee6523e1
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1021 7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1021
8 // @desc@ [Issue 1021] CTFE and functions returning void 8 // @desc@ [Issue 1021] CTFE and functions returning void
9 9
10 module dstress.compile.i.interpret_05_B; 10 module dstress.compile.i.interpret_05_B;
11 11
12 void bar(inout int x){ 12 void bar(ref int x){
13 x = 2; 13 x = 2;
14 } 14 }
15 15
16 int foo() { 16 int foo() {
17 int y; 17 int y;