From: Chad Rosier Date: Wed, 12 Sep 2012 18:34:34 +0000 (+0000) Subject: [ms-inline asm] Add a test case. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47fa9991c5ff7b2221801444c00006b7212fd305;p=clang [ms-inline asm] Add a test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163731 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/ms-inline-asm.c b/test/CodeGen/ms-inline-asm.c index a3758c67cf..9202614208 100644 --- a/test/CodeGen/ms-inline-asm.c +++ b/test/CodeGen/ms-inline-asm.c @@ -145,3 +145,9 @@ void t17(void) { // CHECK: t17 // CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr [eax]", "~{eax},~{dirflag},~{fpsr},~{flags}"() nounwind } + +void t18(void) { + __asm mov dword ptr [eax], eax +// CHECK: t18 +// CHECK: call void asm sideeffect inteldialect "mov dword ptr [eax], eax", "~{dirflag},~{fpsr},~{flags}"() nounwind +}