summaryrefslogtreecommitdiffstats
path: root/llgo/test/irgen/mangling.go
diff options
context:
space:
mode:
Diffstat (limited to 'llgo/test/irgen/mangling.go')
-rw-r--r--llgo/test/irgen/mangling.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/llgo/test/irgen/mangling.go b/llgo/test/irgen/mangling.go
new file mode 100644
index 00000000000..aff73cb8acb
--- /dev/null
+++ b/llgo/test/irgen/mangling.go
@@ -0,0 +1,7 @@
+// RUN: llgo -fgo-pkgpath=llvm.org/llvm -S -emit-llvm -o - %s | FileCheck %s
+
+package llvm
+
+// CHECK: @llvm_org_llvm.F
+func F() {
+}
OpenPOWER on IntegriCloud