Mercurial > projects > dstress
view compile/a/asm_rdmsr_01_A.d @ 1047:90fb42f640a4
partial DMD-0.160 review
author | thomask |
---|---|
date | Fri, 09 Jun 2006 14:30:39 +0000 |
parents | |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.compile.a.asm_rdmsr_01_A; version(D_InlineAsm_X86){ version = runTest; }else version(D_InlineAsm_X86_64){ version = runTest; } version(runTest){ void main(){ asm{ rdmsr; } } }else{ pragma(msg, "DSTRESS{XFAIL}: no inline ASM support"); static assert(0); }