diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-12 18:34:34 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-12 18:34:34 +0000 |
commit | fb901cac602c3962a01ace0618382b919bf97d6a (patch) | |
tree | 9cd8a8c66895684079c3fda471f43cde193483ed | |
parent | bb8795e10009bce7313482d2748f14fe1b071ecd (diff) | |
download | bcm5719-llvm-fb901cac602c3962a01ace0618382b919bf97d6a.tar.gz bcm5719-llvm-fb901cac602c3962a01ace0618382b919bf97d6a.zip |
[ms-inline asm] Add a test case.
llvm-svn: 163731
-rw-r--r-- | clang/test/CodeGen/ms-inline-asm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/ms-inline-asm.c b/clang/test/CodeGen/ms-inline-asm.c index a3758c67cfc..92026142085 100644 --- a/clang/test/CodeGen/ms-inline-asm.c +++ b/clang/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 +} |