annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
831
8d1740117404 added C# like code
thomask
parents:
diff changeset
1 // $HeadURL$
8d1740117404 added C# like code
thomask
parents:
diff changeset
2 // $Date$
8d1740117404 added C# like code
thomask
parents:
diff changeset
3 // $Author$
8d1740117404 added C# like code
thomask
parents:
diff changeset
4
1555
01c289574a6d DMD-1.011: ref
thomask
parents: 831
diff changeset
5 // __DSTRESS_ELINE__ 14
831
8d1740117404 added C# like code
thomask
parents:
diff changeset
6
8d1740117404 added C# like code
thomask
parents:
diff changeset
7 module dstress.nocompile.r.ref_01_B;
8d1740117404 added C# like code
thomask
parents:
diff changeset
8
1555
01c289574a6d DMD-1.011: ref
thomask
parents: 831
diff changeset
9
01c289574a6d DMD-1.011: ref
thomask
parents: 831
diff changeset
10 void test(ref int x){
831
8d1740117404 added C# like code
thomask
parents:
diff changeset
11 }
8d1740117404 added C# like code
thomask
parents:
diff changeset
12
1555
01c289574a6d DMD-1.011: ref
thomask
parents: 831
diff changeset
13 int main(){
01c289574a6d DMD-1.011: ref
thomask
parents: 831
diff changeset
14 test(1);
01c289574a6d DMD-1.011: ref
thomask
parents: 831
diff changeset
15 return 0;
831
8d1740117404 added C# like code
thomask
parents:
diff changeset
16 }