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

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

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

module dstress.norun.a.asm_ud2_01;

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

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