summaryrefslogtreecommitdiffstats
path: root/test/Object/mangle-ir.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Object/mangle-ir.ll')
-rw-r--r--test/Object/mangle-ir.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Object/mangle-ir.ll b/test/Object/mangle-ir.ll
new file mode 100644
index 0000000..725d788
--- /dev/null
+++ b/test/Object/mangle-ir.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as %s -o - | llvm-nm - | FileCheck %s
+
+target datalayout = "m:o"
+
+; CHECK: T _f
+define void @f() {
+ ret void
+}