view norun/a/asm_invd_01.d @ 1586:a74f0139fc3d

Fix tests using typeof on types.
author Christian Kamm <kamm incasoftware de>
date Thu, 21 Aug 2008 15:42:21 +0200
parents 275d8482722d
children
line wrap: on
line source

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

module dstress.norun.a.asm_invd_01;

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

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