comparison tests/mini/asm3.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents tangotests/asm3.d@52d1e9d27dc6
children 4ac97ec7c18e
comparison
equal deleted inserted replaced
340:351c0077d0b3 341:1bb99290e03a
1 module tangotests.asm3;
2
3 extern(C) int printf(char*, ...);
4
5 void main()
6 {
7 char* fmt = "Hello D World\n";
8 printf(fmt);
9 asm
10 {
11 push fmt;
12 call printf;
13 pop EAX;
14 }
15 }