view compile/a/asm_wbinvd_01_A.d @ 1396:35d813a29e8f

div. inline asm fixes
author thomask
date Thu, 08 Mar 2007 16:23:28 +0000
parents 03c97933de98
children
line wrap: on
line source

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

module dstress.compile.a.asm_wbinvd_01_A;

version(D_InlineAsm_X86){
	version = runTest;
}else version(D_InlineAsm_X86_64){
	version = runTest;
}

version(runTest){
	int main(){
		asm{
			wbinvd;
		}
		return 0;
	}
}else{
	pragma(msg, "DSTRESS{XFAIL}: no inline ASM support");
	static assert(0);
}