summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fastcall-correct-mangling.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/fastcall-correct-mangling.ll')
-rw-r--r--test/CodeGen/X86/fastcall-correct-mangling.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fastcall-correct-mangling.ll b/test/CodeGen/X86/fastcall-correct-mangling.ll
index 33b18bb8cc6ec..3569d36541f7a 100644
--- a/test/CodeGen/X86/fastcall-correct-mangling.ll
+++ b/test/CodeGen/X86/fastcall-correct-mangling.ll
@@ -7,3 +7,8 @@ define x86_fastcallcc void @func(i64 %X, i8 %Y, i8 %G, i16 %Z) {
ret void
}
+define x86_fastcallcc i32 @"\01DoNotMangle"(i32 %a) {
+; CHECK: DoNotMangle:
+entry:
+ ret i32 %a
+}