annotate nocompile/l/lock_01_B.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
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
8d1740117404 added C# like code
thomask
parents:
diff changeset
5 // Porting: C#
8d1740117404 added C# like code
thomask
parents:
diff changeset
6
8d1740117404 added C# like code
thomask
parents:
diff changeset
7 // __DSTRESS_ELINE__ 15
8d1740117404 added C# like code
thomask
parents:
diff changeset
8
8d1740117404 added C# like code
thomask
parents:
diff changeset
9 module dstress.nocompile.l.lock_01_B;
8d1740117404 added C# like code
thomask
parents:
diff changeset
10
8d1740117404 added C# like code
thomask
parents:
diff changeset
11 class C{
8d1740117404 added C# like code
thomask
parents:
diff changeset
12 int i;
8d1740117404 added C# like code
thomask
parents:
diff changeset
13
8d1740117404 added C# like code
thomask
parents:
diff changeset
14 void test(){
8d1740117404 added C# like code
thomask
parents:
diff changeset
15 lock(this){
8d1740117404 added C# like code
thomask
parents:
diff changeset
16 i++;
8d1740117404 added C# like code
thomask
parents:
diff changeset
17 }
8d1740117404 added C# like code
thomask
parents:
diff changeset
18 }
8d1740117404 added C# like code
thomask
parents:
diff changeset
19 }