diff --git a/tangotests/asm3.d b/tangotests/asm3.d new file mode 100644 index 00000000..61ee17f5 --- /dev/null +++ b/tangotests/asm3.d @@ -0,0 +1,15 @@ +module tangotests.asm3; + +extern(C) int printf(char*, ...); + +void main() +{ + char* fmt = "Hello D World\n"; + printf(fmt); + asm + { + push fmt; + call printf; + pop EAX; + } +}