Mercurial > projects > dstress
diff nocompile/r/ref_01_B.d @ 1555:01c289574a6d
DMD-1.011: ref
author | thomask |
---|---|
date | Mon, 23 Jul 2007 18:45:40 +0000 |
parents | 8d1740117404 |
children |
line wrap: on
line diff
--- a/nocompile/r/ref_01_B.d Mon Jul 23 18:45:03 2007 +0000 +++ b/nocompile/r/ref_01_B.d Mon Jul 23 18:45:40 2007 +0000 @@ -2,17 +2,15 @@ // $Date$ // $Author$ -// Porting: C# - -// __DSTRESS_ELINE__ 13 +// __DSTRESS_ELINE__ 14 module dstress.nocompile.r.ref_01_B; -void main(){ - int i; - test(ref i); + +void test(ref int x){ } -void test(ref int i){ +int main(){ + test(1); + return 0; } -