summaryrefslogtreecommitdiff
path: root/test/CodeGen/MIR
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/MIR')
-rw-r--r--test/CodeGen/MIR/X86/escape-function-name.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/MIR/X86/escape-function-name.ll b/test/CodeGen/MIR/X86/escape-function-name.ll
new file mode 100644
index 00000000000..8ef687479a1
--- /dev/null
+++ b/test/CodeGen/MIR/X86/escape-function-name.ll
@@ -0,0 +1,6 @@
+; RUN: llc -mtriple=x86_64-unknown-unknown -stop-after branch-folder -o - %s 2>&1 | FileCheck %s
+
+define void @"\01?f@@YAXXZ"() {
+; CHECK: name: "\x01?f@@YAXXZ"
+ ret void
+}