diff options
Diffstat (limited to 'test/ELF/icf-different-output-sections.s')
-rw-r--r-- | test/ELF/icf-different-output-sections.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ELF/icf-different-output-sections.s b/test/ELF/icf-different-output-sections.s new file mode 100644 index 000000000..e66b102a1 --- /dev/null +++ b/test/ELF/icf-different-output-sections.s @@ -0,0 +1,9 @@ +# REQUIRES: x86 +# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t +# RUN: ld.lld %t -o %t2 --icf=all --print-icf-sections | count 0 + +.section foo,"ax" +.byte 42 + +.section bar,"ax" +.byte 42 |