view run/a/asm_str_01.d @ 1386:7a397590d6e0

64-bit fixes
author thomask
date Wed, 07 Mar 2007 23:10:27 +0000
parents 03c97933de98
children 251a3e0d98f7
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

module dstress.run.a.asm_str_01;

int main(){
	version(D_InlineAsm){

		ushort a = 0;

		asm{
			str a;
		}

		assert(a != 0);

		return 0;
	}else{
		pragma(msg, "DSTRESS{XPASS}: no inline ASM support");
		static assert(0);
	}
}