# HG changeset patch # User lindquist # Date 1212859215 -7200 # Node ID 52d1e9d27dc62c6b176f2bacb96923256d6ae17f # Parent 3092a38dddab990bd808224b75552f2b45daaabe [svn r244] added another asm test. diff -r 3092a38dddab -r 52d1e9d27dc6 tangotests/asm3.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tangotests/asm3.d Sat Jun 07 19:20:15 2008 +0200 @@ -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; + } +}