[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / incompatible-section-types2.s
blob919515fe37e39696045d2b7fb83212138a2dcc40
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 // RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
5 // CHECK: error: section type mismatch for .shstrtab
6 // CHECK-NEXT: >>> <internal>:(.shstrtab): SHT_STRTAB
7 // CHECK-NEXT: >>> output section .shstrtab: Unknown
9 .section .shstrtab,"",@0x60000000
10 .short 20