summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionImport/Inputs/comdat.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/FunctionImport/Inputs/comdat.ll')
-rw-r--r--llvm/test/Transforms/FunctionImport/Inputs/comdat.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/Transforms/FunctionImport/Inputs/comdat.ll b/llvm/test/Transforms/FunctionImport/Inputs/comdat.ll
new file mode 100644
index 00000000000..1df6f25351e
--- /dev/null
+++ b/llvm/test/Transforms/FunctionImport/Inputs/comdat.ll
@@ -0,0 +1,10 @@
+target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-pc-windows-msvc19.0.24215"
+
+define void @main() {
+entry:
+ call i8* @lwt_fun()
+ ret void
+}
+
+declare i8* @lwt_fun()
OpenPOWER on IntegriCloud