summaryrefslogtreecommitdiffstats
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
commit97b589502967e763a7b5fcfe7fe80bb4471f020b (patch)
tree9007a3a689a3968fa067f48993e3f736e1ee1af2
parenta4bc9437a26612233826caa42ce1365270f7a088 (diff)
downloadbcm5719-llvm-97b589502967e763a7b5fcfe7fe80bb4471f020b.tar.gz
bcm5719-llvm-97b589502967e763a7b5fcfe7fe80bb4471f020b.zip
[ms-inline asm] Add test case for r172121.
Part of rdar://12991541 llvm-svn: 172122
-rw-r--r--clang/test/CodeGen/ms-inline-asm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGen/ms-inline-asm.c b/clang/test/CodeGen/ms-inline-asm.c
index af88cc1fe18..5031722b01c 100644
--- a/clang/test/CodeGen/ms-inline-asm.c
+++ b/clang/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
+}
OpenPOWER on IntegriCloud