aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ms-inline-asm.c
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-12 18:25:06 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-12 18:25:06 +0000
commit808a1d0f5ad71b5a3a6c9445b67e149b7a82c011 (patch)
treed51fee149deb2bc01917a24d14287a6ae3647217 /test/CodeGen/ms-inline-asm.c
parent7f9678b513f926dae27234858ed2586a6eb03b7b (diff)
[ms-inline asm] Test case for r163729.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ms-inline-asm.c')
-rw-r--r--test/CodeGen/ms-inline-asm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/ms-inline-asm.c b/test/CodeGen/ms-inline-asm.c
index 67e0eb46b6..a3758c67cf 100644
--- a/test/CodeGen/ms-inline-asm.c
+++ b/test/CodeGen/ms-inline-asm.c
@@ -139,3 +139,9 @@ void t16(unsigned long long V) {
// CHECK: t16
// CHECK: call void asm sideeffect inteldialect "mov eax, DWORD PTR [$0]", "r,~{eax},~{dirflag},~{fpsr},~{flags}"(i64 %0) nounwind
}
+
+void t17(void) {
+ __asm mov eax, dword ptr [eax]
+// CHECK: t17
+// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr [eax]", "~{eax},~{dirflag},~{fpsr},~{flags}"() nounwind
+}