[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / lazy-arch-conflict.s
blobb6b41ae1025ac0596c051ca3a622b5492cc3dd1d
1 # REQUIRES: x86
3 # RUN: echo '.weak foo; .quad foo;' | llvm-mc -filetype=obj -triple=x86_64 - -o %t64.o
4 # RUN: echo '.globl foo; foo:' | llvm-mc -filetype=obj -triple=i686-pc-linux - -o %t32.o
5 # RUN: not ld.lld %t64.o --start-lib %t32.o --end-lib -o /dev/null 2>&1 | FileCheck %s
7 # CHECK: error: {{.*}}32.o is incompatible with {{.*}}64.o