aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/lto/Inputs/linkonce-odr.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/lto/Inputs/linkonce-odr.ll')
-rw-r--r--test/ELF/lto/Inputs/linkonce-odr.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ELF/lto/Inputs/linkonce-odr.ll b/test/ELF/lto/Inputs/linkonce-odr.ll
new file mode 100644
index 000000000000..0b3828846eb5
--- /dev/null
+++ b/test/ELF/lto/Inputs/linkonce-odr.ll
@@ -0,0 +1,6 @@
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+define linkonce_odr void @f() {
+ ret void
+}