diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-01-07 20:34:40 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-01-07 20:34:40 +0000 |
commit | 7520fcab8a7084729901c5edfd3ade79acfa2672 (patch) | |
tree | 1574eb90006d4a659a15df0b67926058c9434c41 /test/CodeGen/ms-inline-asm.c | |
parent | 57cbb141ca7ee020d6853cd098065a9e0c2d69cc (diff) |
Test case for r171784.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ms-inline-asm.c')
-rw-r--r-- | test/CodeGen/ms-inline-asm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/ms-inline-asm.c b/test/CodeGen/ms-inline-asm.c index f587afd106..3ddfaf5e5c 100644 --- a/test/CodeGen/ms-inline-asm.c +++ b/test/CodeGen/ms-inline-asm.c @@ -228,3 +228,11 @@ void t22() { // CHECK: call void @t22_helper // CHECK: call void asm sideeffect inteldialect "mov esp, ebx\0A\09pop ebx", "~{ebx},~{esp},~{dirflag},~{fpsr},~{flags}"() nounwind } + +void t23() { + __asm { + the_label: + } +// CHECK: t23 +// CHECK: call void asm sideeffect inteldialect "the_label:", "~{dirflag},~{fpsr},~{flags}"() nounwind +} |