summaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionImport/Inputs
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-02-05 18:38:58 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-02-05 18:38:58 +0000
commite79719ce607b6130e41e23dbdc90cc6b4e0401e6 (patch)
tree47bb93fafd9582425ebb778ec77002c222f64ed4 /test/Transforms/FunctionImport/Inputs
parent3edec5c15a78e4abba7eb9102fef3891c84ebdfb (diff)
Notes
Diffstat (limited to 'test/Transforms/FunctionImport/Inputs')
-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()