]> granicus.if.org Git - clang/commitdiff
[ms-inline asm] Add a test case.
authorChad Rosier <mcrosier@apple.com>
Wed, 12 Sep 2012 18:34:34 +0000 (18:34 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 12 Sep 2012 18:34:34 +0000 (18:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163731 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ms-inline-asm.c

index a3758c67cfc8b37b7346008e86fe8f3de74ac1e5..920261420850525358b5c91717f080002094928d 100644 (file)
@@ -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
+}