Mercurial > projects > ldc
view tangotests/asm4.d @ 265:455eb10696f2 trunk
[svn r286] removing test statistics from repository; they are too big and change too often
author | ChristianK |
---|---|
date | Sun, 15 Jun 2008 11:40:47 +0200 |
parents | 79d8f6b3fbaf |
children |
line wrap: on
line source
module tangotests.asm4; extern(C) int printf(char*,...); void main() { char* fmt = "yay!\n"; asm { jmp L2; L1:; jmp L3; L2:; jmp L1; L3:; push fmt; call printf; pop EAX; } }