From 3731a41acbab938f03708f05b1bff7c34b4d3484 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Thu, 10 Jan 2013 22:11:28 +0000 Subject: [PATCH] [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 --- test/CodeGen/ms-inline-asm.c | 7 +++++++ 1 file changed, 7 insertions(+) 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 +} -- 2.40.0