Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / MC / ELF / subtraction-error.s
blob6b93d3aee5bdcfbefb79a7a861e3fc216eeb2e46
1 // RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux < %s 2>&1 | FileCheck %s
3 a:
4 .section foo
5 b:
6 c = b - a
8 ; CHECK: symbol 'a' could not be evaluated in a subtraction expression