aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ms-inline-asm.c
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-01-10 22:11:28 +0000
committerChad Rosier <mcrosier@apple.com>2013-01-10 22:11:28 +0000
commit3731a41acbab938f03708f05b1bff7c34b4d3484 (patch)
treece1a23850e07f4fda83846c9f7b8ecfb9119f82f /test/CodeGen/ms-inline-asm.c
parent3973f28f347bf8ca3cca31ea30da235c95701231 (diff)
[ms-inline asm] Add test case for r172121.
Part of rdar://12991541 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ms-inline-asm.c')
-rw-r--r--test/CodeGen/ms-inline-asm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/ms-inline-asm.c b/test/CodeGen/ms-inline-asm.c
index af88cc1fe1..5031722b01 100644
--- a/test/CodeGen/ms-inline-asm.c
+++ b/test/CodeGen/ms-inline-asm.c
@@ -239,3 +239,10 @@ void t23() {
// CHECK: t23
// CHECK: call void asm sideeffect inteldialect "the_label:", "~{dirflag},~{fpsr},~{flags}"() nounwind
}
+
+void t24_helper(void) {}
+void t24() {
+ __asm call t24_helper
+// CHECK: t24
+// CHECK: call void asm sideeffect inteldialect "call $0", "r,~{dirflag},~{fpsr},~{flags}"(void ()* @t24_helper) nounwind
+}