summaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionImport/Inputs/comdat.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/FunctionImport/Inputs/comdat.ll')
-rw-r--r--test/Transforms/FunctionImport/Inputs/comdat.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/FunctionImport/Inputs/comdat.ll b/test/Transforms/FunctionImport/Inputs/comdat.ll
new file mode 100644
index 000000000000..1df6f25351e5
--- /dev/null
+++ b/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()