summaryrefslogtreecommitdiff
path: root/test/ELF/icf6.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/icf6.s')
-rw-r--r--test/ELF/icf6.s23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/ELF/icf6.s b/test/ELF/icf6.s
deleted file mode 100644
index 0819d51f18447..0000000000000
--- a/test/ELF/icf6.s
+++ /dev/null
@@ -1,23 +0,0 @@
-# REQUIRES: x86
-
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
-
-# CHECK-NOT: selected section '.text.f1'
-# CHECK-NOT: selected section '.text.f2'
-
-.globl _start, f1, f2
-_start:
- ret
-
-.section .init, "ax"
-f1:
- mov $60, %rax
- mov $42, %rdi
- syscall
-
-.section .fini, "ax"
-f2:
- mov $60, %rax
- mov $42, %rdi
- syscall